PdfDestinationFitRectangle Method |
A factory method for making a PdfDestination with FitRectangle as its
PageFitMode.
Namespace:
Atalasoft.PdfDoc
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic static PdfDestination FitRectangle(
RectangleF rect
)
Public Shared Function FitRectangle (
rect As RectangleF
) As PdfDestination
Parameters
- rect
- Type: System.DrawingRectangleF
A rectangle representing the view in PDF page coordinates.
Return Value
Type:
PdfDestinationReturns the
PdfDestination.
Remarks
After calling this method, it is still necessary to set the Page property to
make a valid PdfDestination.
See Also