Aspose::Pdf::Annotations::FitRExplicitDestination class

FitRExplicitDestination class

Represents explicit destination that displays the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and topentirely 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 rectangle within the window in the other dimension. A null value for any of the parameters may result in unpredictable behavior.

class FitRExplicitDestination : 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.
FitRExplicitDestination(System::SharedPtr<Aspose::Pdf::Page>, double, double, double, double)Creates local explicit destination.
FitRExplicitDestination(System::SharedPtr<Document>, int32_t, double, double, double, double)Creates remote explicit destination.
FitRExplicitDestination(int32_t, double, double, double, double)Creates remote explicit destination.
get_Bottom()Gets bottom vertical coordinate of visible rectangle.
get_Left()Gets left horizontal coordinate of visible rectangle.
get_Page() constGets the destination page object.
get_PageNumber() constGets the destination page number.
get_Right()Gets right horizontal coordinate of visible rectangle.
get_Top()Gets top vertical coordinate of visible rectangle.
ToString() const overrideConverts the object state into string value. Example: “1 FitR 100 200 300 400”.

See Also