Altsoft Xml2PDF reference library
APDestination Class
NamespacesAltsoft.PublisherAPDestination
Output document.
Declaration Syntax
C#Visual BasicVisual C++
[GuidAttribute("940DF1C9-22CE-452d-BDBC-808140CA8232")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDual)]
public class APDestination : IDisposable
<GuidAttribute("940DF1C9-22CE-452d-BDBC-808140CA8232")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDual)> _
Public Class APDestination _
	Implements IDisposable
[GuidAttribute(L"940DF1C9-22CE-452d-BDBC-808140CA8232")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDual)]
public ref class APDestination : IDisposable
Remarks

There are three main types of Xml2PDF destinations.

Simple destinations.

To get simple destination you should call CreateDestination()()() or CreateDestination(APConfig) factory method.

Typed destinations.

To get typed destination you should call CreateDestination(APDestinationFormat) or CreateDestination(APConfig, APDestinationFormat) factory method.

Fast destinations.

To get fast destination you should call CreateFastDestination(APDestinationFormat, String, APLog, APConfig) or CreateFastDestination(APDestinationFormat, Stream, Boolean, APLog, APConfig) factory method.

Members
All MembersMethodsProperties



IconMemberDescription
AddBackground(APSource, Int32, Int32, Boolean, Double)
Adds the given source document as background for the current output document.

Append(APSource, APLog, Double)
Appends the given source document to the end of the current output document.

Append(APSource)
Appends the given source document to the end of the current output document.

Close()()()
Closes the current output document.

IDisposable..::.Dispose()()()
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GdiPrint(PrintDocument)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetPageBBox(Int32)
Gets bounding box for a page with given page-number.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PageCount
Current count of pages in the output document.

Save(APDestinationFormat, Stream, APLog, Double)
Saves the current output document with the given output format to the given output stream.

Save(APDestinationFormat, String, APLog, Double)
Saves the current output document with the given output format to the given file.

Save(APDestinationFormat, String)
Saves the current output document with the given output format to the given file.

SaveGDIPage(Int32, Graphics, RectangleF)
Saves specified page in a given graphics object with the given bounding box

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
APDestination
See Also

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