Click or drag to resize

PdfDestinationCreateFitB Method

Create new destination that display the page designated by pageIndex, with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static PdfDestination CreateFitB(
	PdfDocument document,
	int pageIndex
)

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.

Return Value

PdfDestination
An instance of the PdfDestination class initialized with the specified parameters.
Remarks
If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the bounding box within the window in the other dimension.
See Also