ImageGear for .NET
ImGearPDFDestination Constructor




The document in which the destination is used.
The destination page.
Destination fit type. Must be one of the View Destination Fit Types.
Destination rectangle, specified in user space coordinates. The appropriate information will be extracted from rect, depending on fitType, to create the destination. All four of rect's components should be set.
The zoom factor to set for the destination. Used only if fitType is XYZ.
Page number of the destination's page.
Initializes a new instance of the ImGearPDFDestination class.
Syntax
'Declaration
 
Public Function New( _
   ByVal document As ImGearPDFDocument, _
   ByVal page As ImGearPDFPage, _
   ByVal fitType As ImGearPDFAtom, _
   ByVal rect As ImGearPDFFixedRect, _
   ByVal zoom As Integer, _
   ByVal pageNumber As Integer _
)
'Usage
 
Dim document As ImGearPDFDocument
Dim page As ImGearPDFPage
Dim fitType As ImGearPDFAtom
Dim rect As ImGearPDFFixedRect
Dim zoom As Integer
Dim pageNumber As Integer
 
Dim instance As New ImGearPDFDestination(document, page, fitType, rect, zoom, pageNumber)
public ImGearPDFDestination( 
   ImGearPDFDocument document,
   ImGearPDFPage page,
   ImGearPDFAtom fitType,
   ImGearPDFFixedRect rect,
   int zoom,
   int pageNumber
)
public: ImGearPDFDestination( 
   ImGearPDFDocument* document,
   ImGearPDFPage* page,
   ImGearPDFAtom* fitType,
   ImGearPDFFixedRect* rect,
   int zoom,
   int pageNumber
)
public:
ImGearPDFDestination( 
   ImGearPDFDocument^ document,
   ImGearPDFPage^ page,
   ImGearPDFAtom^ fitType,
   ImGearPDFFixedRect^ rect,
   int zoom,
   int pageNumber
)

Parameters

document
The document in which the destination is used.
page
The destination page.
fitType
Destination fit type. Must be one of the View Destination Fit Types.
rect
Destination rectangle, specified in user space coordinates. The appropriate information will be extracted from rect, depending on fitType, to create the destination. All four of rect's components should be set.
zoom
The zoom factor to set for the destination. Used only if fitType is XYZ.
pageNumber
Page number of the destination's page.

Return Value

The new instance of ImGearPDFDestination class object.
See Also

Reference

ImGearPDFDestination Class
ImGearPDFDestination Members
ImGearPDFDocument Class
ImGearPDFPreflight Class
ImGearPDFAtom Class
ImGearPDFFixedRect Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback