PdfDestinationFitRectangleAction Method |
A factory method for making a PdfGoToViewAction with a PdfDestination with FitRectangle as its
PageFitMode
Namespace:
Atalasoft.PdfDoc
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static PdfGoToViewAction FitRectangleAction(
int pageIndex,
RectangleF rect
)
Public Shared Function FitRectangleAction (
pageIndex As Integer,
rect As RectangleF
) As PdfGoToViewAction
Parameters
- pageIndex
- Type: SystemInt32
Index of the page. - rect
- Type: System.DrawingRectangleF
A rectangle representing the view in PDF page coordinates.
Return Value
Type:
PdfGoToViewActionA new
PdfGoToViewActionSee Also