Click or drag to resize

PdfDestinationCreateFitH Method

Create new destination that display the page designated by pageIndex, with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static PdfDestination CreateFitH(
	PdfDocument document,
	int pageIndex,
	float? top = 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.
top  NullableSingle  (Optional)
The y coordinate.

Return Value

PdfDestination
An instance of the PdfDestination class initialized with the specified parameters.
Remarks
A null value for top specifies that the current value of that parameter is to be retained unchanged.
See Also