FitHExplicitDestination
Inheritance: java.lang.Object, com.aspose.pdf.ExplicitDestination
public final class FitHExplicitDestination 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 the page within the window. A null value for top specifies that the current value of that parameter is to be retained unchanged.
Constructors
Constructor | Description |
---|---|
FitHExplicitDestination(Page page, double top) | Creates the instance and initializes it by DOM page object and top parameter. |
FitHExplicitDestination(Document document, int pageNumber, double top) | Creates remote explicit destination. |
FitHExplicitDestination(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. |
FitHExplicitDestination(Page page, double top)
public FitHExplicitDestination(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. |
FitHExplicitDestination(Document document, int pageNumber, double top)
public FitHExplicitDestination(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. |
FitHExplicitDestination(int pageNumber, double top)
public FitHExplicitDestination(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 FitH 100”.
Returns: java.lang.String - String value representing object state.