FitExplicitDestination

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.

The FitExplicitDestination type exposes the following members:

Constructors

NameDescription
FitExplicitDestination(page)Initializes a new instance of the FitExplicitDestination class
FitExplicitDestination(document, page_number)Initializes a new instance of the FitExplicitDestination class
FitExplicitDestination(page_number)Initializes a new instance of the FitExplicitDestination class

Properties

NameDescription
pageGets the destination page object
page_numberGets the destination page number

Methods

NameDescription
create_destination(page, type, values)Creates instances of ExplicitDestination descendant classes.
create_destination(doc, page_number, type, values)Creates instances of ExplicitDestination descendant classes.
create_destination(page_number, type, values)Creates instances of ExplicitDestination descendant classes.
to_string()Converts the object state into string value. Example: “1 Fit”.

See Also