Click or drag to resize

DestinationCreateFitR Method

Create a new 'FitR' Destination. The new Destination displays the page designated by 'page', with its contents magnified just enough to fit the rectangle specified by the coordinates 'left', 'bottom', 'right', and 'top' entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Destination CreateFitR(
	Page page,
	double left,
	double bottom,
	double right,
	double top
)

Parameters

page
Type: pdftron.PDFPage
the page
left
Type: SystemDouble
the left
bottom
Type: SystemDouble
the bottom
right
Type: SystemDouble
the right
top
Type: SystemDouble
the top

Return Value

Type: Destination
the destination
See Also