XYZExplicitDestination.CreateDestination

XYZExplicitDestination.CreateDestination method

Create destintion to specified location of the page considering page rotation if required.

public static XYZExplicitDestination CreateDestination(Page page, double left, double top, 
    double zoom, bool considerRotation)
ParameterTypeDescription
pagePageDestination page.
leftDoubleLeft position on the page.
topDoubleTop position on the page.
zoomDoubleZoom factor (0 for default).
considerRotationBooleanIf true position will be recalculated according to page rotation.

Return Value

Destination object.

See Also