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
public:
APDestination^ CreateDestination(
	APConfig^ config, 
	APDestinationFormat format
)
Parameters
config (APConfig)
Settings for a new output document.
format (APDestinationFormat)
Format of new destaination.
Return Value
A new instance of APDestination.
Remarks

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)