Click or drag to resize

PdfDestinationCreateXYZ Method

Create new destination that display the page designated by pageIndex, with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static PdfDestination CreateXYZ(
	PdfDocument document,
	int pageIndex,
	float? left = null,
	float? top = null,
	float? zoom = null
)

Parameters

document  PdfDocument
Document which contains this destination. Null for remote document.
pageIndex  Int32
The zero-based index of the page to be displayed by this destination.
left  NullableSingle  (Optional)
The x coordinate.
top  NullableSingle  (Optional)
The y coordinate.
zoom  NullableSingle  (Optional)
The zoom factor

Return Value

PdfDestination
An instance of the PdfDestination class initialized with the specified parameters.
Remarks
A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.
See Also