Method CreatePosition
CreatePosition(double?, double?, double?)
Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the desired left and top value and the optional zoom value on the destination page. Null values are retained unchanged.
public static PdfNamedDestinationParameters CreatePosition(double? left, double? top, double? zoom = null)
Parameters
leftdouble?The left value of the displayed area in PDF world space units.
topdouble?The top value of the displayed area in PDF world space units.
zoomdouble?Optional: The zoom value for the displayed area. 1 = 100%, 2 = 200% etc.
Returns
CreatePosition(XPoint, double?)
Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the desired left and top value and the optional zoom value on the destination page. Null values are retained unchanged.
public static PdfNamedDestinationParameters CreatePosition(XPoint position, double? zoom = null)
Parameters
positionXPointAn XPoint defining the left and top value of the displayed area in PDF world space units.
zoomdouble?Optional: The zoom value for the displayed area. 1 = 100%, 2 = 200% etc.