Aspose::Pdf::Annotations::ExplicitDestination::CreateDestination method

ExplicitDestination::CreateDestination(const System::SharedPtr<Aspose::Pdf::Page>&, ExplicitDestinationType, const System::ArrayPtr<double>&) method

Creates instances of ExplicitDestination descendant classes.

static System::SharedPtr<ExplicitDestination> Aspose::Pdf::Annotations::ExplicitDestination::CreateDestination(const System::SharedPtr<Aspose::Pdf::Page> &page, ExplicitDestinationType type, const System::ArrayPtr<double> &values)
ParameterTypeDescription
pageconst System::SharedPtr<Aspose::Pdf::Page>&The object of destination page.
typeExplicitDestinationTypeThe type of explicit destination.
valuesconst System::ArrayPtr<double>&Array of double values.

ReturnValue

The explicit destination object.

See Also

ExplicitDestination::CreateDestination(const System::SharedPtr<Document>&, int32_t, ExplicitDestinationType, const System::ArrayPtr<double>&) method

Creates instances of ExplicitDestination descendant classes.

static System::SharedPtr<ExplicitDestination> Aspose::Pdf::Annotations::ExplicitDestination::CreateDestination(const System::SharedPtr<Document> &doc, int32_t pageNumber, ExplicitDestinationType type, const System::ArrayPtr<double> &values)
ParameterTypeDescription
docconst System::SharedPtr<Document>&Document where destination will be created.
pageNumberint32_tNumber of the page.
typeExplicitDestinationTypeDestionatyion type.
valuesconst System::ArrayPtr<double>&Array of destination specific values.

ReturnValue

The explicit destination object.

Deprecated

Use the method without Document argument.

See Also

ExplicitDestination::CreateDestination(int32_t, ExplicitDestinationType, const System::ArrayPtr<double>&) method

Creates instances of ExplicitDestination descendant classes.

static System::SharedPtr<ExplicitDestination> Aspose::Pdf::Annotations::ExplicitDestination::CreateDestination(int32_t pageNumber, ExplicitDestinationType type, const System::ArrayPtr<double> &values)
ParameterTypeDescription
pageNumberint32_tThe destination page number.
typeExplicitDestinationTypeThe type of explicit destination.
valuesconst System::ArrayPtr<double>&Array of double values.

ReturnValue

The explicit destination object.

See Also