public final class FitExplicitDestination extends ExplicitDestination
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.
Constructor and Description |
---|
FitExplicitDestination(Document document,
int pageNumber)
Deprecated.
|
FitExplicitDestination(int pageNumber)
Creates remote explicit destination.
|
FitExplicitDestination(Page page)
Creates local explicit destination.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts the object state into string value.
|
createDestination, createDestination, createDestination, createDestination, getPage, getPageNumber
public FitExplicitDestination(Page page)
Creates local explicit destination.
page
- The destination page object.@Deprecated public FitExplicitDestination(Document document, int pageNumber)
Creates remote explicit destination.
document
- The Document object.pageNumber
- The destination page number.public FitExplicitDestination(int pageNumber)
Creates remote explicit destination.
pageNumber
- The destination page number of remote document.public String toString()
Converts the object state into string value. Example: "1 Fit".
toString
in interface IAppointment
toString
in class ExplicitDestination