Aspose::Pdf::Annotations::XYZExplicitDestination::CreateDestination method

XYZExplicitDestination::CreateDestination method

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

static System::SharedPtr<XYZExplicitDestination> Aspose::Pdf::Annotations::XYZExplicitDestination::CreateDestination(System::SharedPtr<Aspose::Pdf::Page> page, double left, double top, double zoom, bool considerRotation)
ParameterTypeDescription
pageSystem::SharedPtr<Aspose::Pdf::Page>Destination page.
leftdoubleLeft position on the page.
topdoubleTop position on the page.
zoomdoubleZoom factor (0 for default).
considerRotationboolIf true position will be recalculated according to page rotation.

ReturnValue

Destination object.

See Also