Altsoft Xml2PDF reference library
CreateDestination Method (config, format)
NamespacesAltsoft.PublisherAPEngineCreateDestination(APConfig, APDestinationFormat)
Creates a new output document instance with the given settings.
Declaration Syntax
C#Visual BasicVisual C++
public APDestination CreateDestination(
	APConfig config,
	APDestinationFormat format
Public Function CreateDestination ( _
	config As APConfig, _
	format As APDestinationFormat _
) As APDestination
APDestination^ CreateDestination(
	APConfig^ config, 
	APDestinationFormat format
config (APConfig)
Settings for a new output document.
format (APDestinationFormat)
Format of new destaination.
Return Value
A new instance of APDestination.

Creates a new output document with the predefined output format. This forbids its saving to any other output formats. It also forbids calling the following methods:

Assembly: Altsoft.Xml2PDF.Server (Module: Altsoft.Xml2PDF.Server)