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: 2026.2.0.0.42 (.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