Method CreateFitRectangle
CreateFitRectangle(double, double, double, double)
Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the destination page. The given rectangle is fitted to the window.
public static PdfNamedDestinationParameters CreateFitRectangle(double left, double top, double right, double bottom)
Parameters
leftdoubleThe left value of the rectangle to display in PDF world space units.
topdoubleThe top value of the rectangle to display in PDF world space units.
rightdoubleThe right value of the rectangle to display in PDF world space units.
bottomdoubleThe bottom value of the rectangle to display in PDF world space units.
Returns
CreateFitRectangle(XRect)
Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the destination page. The given rectangle is fitted to the window.
public static PdfNamedDestinationParameters CreateFitRectangle(XRect rect)
Parameters
rectXRectThe XRect representing the rectangle to display in PDF world space units.
Returns
CreateFitRectangle(XPoint, XPoint)
Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the destination page. The given rectangle is fitted to the window.
public static PdfNamedDestinationParameters CreateFitRectangle(XPoint point1, XPoint point2)
Parameters
point1XPointThe first XPoint representing the rectangle to display in PDF world space units.
point2XPointThe second XPoint representing the rectangle to display in PDF world space units.