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
)
Public Shared Function CreateFitR (
page As Page,
left As Double,
bottom As Double,
right As Double,
top As Double
) As Destination
public:
static Destination^ CreateFitR(
[InAttribute] Page^ page,
[InAttribute] double left,
[InAttribute] double bottom,
[InAttribute] double right,
[InAttribute] double top
)
pdftron.PDF.Destination.CreateFitR = function(page, left, bottom, right, 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