Aspose::Pdf::Annotations::FitExplicitDestination class

FitExplicitDestination class

Represents explicit destination that displays the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.

class FitExplicitDestination : public Aspose::Pdf::Annotations::ExplicitDestination

Methods

MethodDescription
static CreateDestination(System::SharedPtr<Aspose::Pdf::Page>, ExplicitDestinationType, const System::ArrayPtr<double>&)Creates instances of ExplicitDestination descendant classes.
static CreateDestination(System::SharedPtr<Document>, int32_t, ExplicitDestinationType, const System::ArrayPtr<double>&)Creates instances of ExplicitDestination descendant classes.
static CreateDestination(int32_t, ExplicitDestinationType, const System::ArrayPtr<double>&)Creates instances of ExplicitDestination descendant classes.
FitExplicitDestination(System::SharedPtr<Aspose::Pdf::Page>)Creates local explicit destination.
FitExplicitDestination(System::SharedPtr<Document>, int32_t)Creates remote explicit destination.
FitExplicitDestination(int32_t)Creates remote explicit destination.
get_Page() constGets the destination page object.
get_PageNumber() constGets the destination page number.
ToString() const overrideConverts the object state into string value. Example: “1 Fit”.

See Also