FitBHExplicitDestination
Inheritance: java.lang.Object, com.aspose.pdf.ExplicitDestination
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.
Constructors
Constructor | Description |
---|---|
FitBHExplicitDestination(Page page, double top) | Creates the instance and initializes it by DOM page object and top parameter. |
FitBHExplicitDestination(Document document, int pageNumber, double top) | Creates remote explicit destination. |
FitBHExplicitDestination(int pageNumber, double top) | Creates remote explicit destination. |
Methods
Method | Description |
---|---|
getTop() | Gets the vertical coordinate top positioned at the top edge of the window. |
toString() | Converts the object state into string value. |
FitBHExplicitDestination(Page page, double top)
public FitBHExplicitDestination(Page page, double top)
Creates the instance and initializes it by DOM page object and top parameter.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | DOM page object. |
top | double | The vertical coordinate top positioned at the top edge of the window. |
FitBHExplicitDestination(Document document, int pageNumber, double top)
public FitBHExplicitDestination(Document document, int pageNumber, double top)
Creates remote explicit destination.
Parameters:
Parameter | Type | Description |
---|---|---|
document | Document | The parent document that contains this object. |
pageNumber | int | The destination page number of remote document. |
top | double | The vertical coordinate top positioned at the top edge of the window. |
FitBHExplicitDestination(int pageNumber, double top)
public FitBHExplicitDestination(int pageNumber, double top)
Creates remote explicit destination.
Parameters:
Parameter | Type | Description |
---|---|---|
pageNumber | int | The destination page number of remote document. |
top | double | The vertical coordinate top positioned at the top edge of the window. |
getTop()
public double getTop()
Gets the vertical coordinate top positioned at the top edge of the window.
Returns: double - double value
toString()
public String toString()
Converts the object state into string value. Example: “1 FitBH 100”.
Returns: java.lang.String - String value representing object state.