public final class FitBExplicitDestination extends ExplicitDestination
Represents explicit destination that displays the page with its contents magnified just enough to fit its bounding box entirely 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 bounding box within the window in the other dimension.
Constructor and Description |
---|
FitBExplicitDestination(Document document,
int pageNumber)
Deprecated.
|
FitBExplicitDestination(int pageNumber)
Creates remote explicit destination.
|
FitBExplicitDestination(Page page)
Creates the instance and initializes it by DOM page object.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts the object state into string value.
|
createDestination, createDestination, createDestination, createDestination, getPage, getPageNumber
public FitBExplicitDestination(Page page)
Creates the instance and initializes it by DOM page object.
page
- DOM page object.@Deprecated public FitBExplicitDestination(Document document, int pageNumber)
Creates remote explicit destination.
document
- The parent document that contains this object.pageNumber
- The destination page number of remote document.public FitBExplicitDestination(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 FitB".
toString
in interface IAppointment
toString
in class ExplicitDestination