public final class FitBHExplicitDestination extends ExplicitDestination
Represents explicit destination that displays the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. A null value for top specifies that the current value of that parameter is to be retained unchanged.
Constructor and Description |
---|
FitBHExplicitDestination(Document document,
int pageNumber,
double top)
Deprecated.
|
FitBHExplicitDestination(int pageNumber,
double top)
Creates remote explicit destination.
|
FitBHExplicitDestination(Page page,
double top)
Creates the instance and initializes it by DOM page object and top parameter.
|
Modifier and Type | Method and Description |
---|---|
double |
getTop()
Gets the vertical coordinate top positioned at the top edge of the window.
|
String |
toString()
Converts the object state into string value.
|
createDestination, createDestination, createDestination, createDestination, getPage, getPageNumber
public FitBHExplicitDestination(Page page, double top)
Creates the instance and initializes it by DOM page object and top parameter.
page
- DOM page object.top
- The vertical coordinate top positioned at the top edge of the window.@Deprecated public FitBHExplicitDestination(Document document, int pageNumber, double top)
Creates remote explicit destination.
document
- The parent document that contains this object.pageNumber
- The destination page number of remote document.top
- The vertical coordinate top positioned at the top edge of the window.public FitBHExplicitDestination(int pageNumber, double top)
Creates remote explicit destination.
pageNumber
- The destination page number of remote document.top
- The vertical coordinate top positioned at the top edge of the window.public double getTop()
Gets the vertical coordinate top positioned at the top edge of the window.
public String toString()
Converts the object state into string value. Example: "1 FitBH 100".
toString
in interface IAppointment
toString
in class ExplicitDestination