FitBHExplicitDestination

Inheritance: java.lang.Object, com.aspose.pdf.ExplicitDestination com.aspose.pdf.FitBHExplicitDestination, com.aspose.pdf.ExplicitDestination, com.aspose.pdf.FitBHExplicitDestination

All Implemented Interfaces: IAppointment

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

ConstructorDescription
FitBHExplicitDestinationCreates remote explicit destination.
FitBHExplicitDestinationCreates remote explicit destination.
FitBHExplicitDestinationCreates the instance and initializes it by DOM page object and top parameter.

Methods

MethodDescription
getTopGets the vertical coordinate top positioned at the top edge of the window.
toStringConverts the object state into string value. Example: “1 FitBH 100”.

FitBHExplicitDestination

Creates remote explicit destination.

FitBHExplicitDestination

public FitBHExplicitDestination(int pageNumber, double top)

Creates remote explicit destination.

Parameters:

ParameterTypeDescription
pageNumberThe destination page number of remote document.
topThe vertical coordinate top positioned at the top edge of the window.

FitBHExplicitDestination

Creates the instance and initializes it by DOM page object and top parameter.

getTop

public double getTop()

Gets the vertical coordinate top positioned at the top edge of the window.

Returns: double value

toString

public String toString()

Converts the object state into string value. Example: “1 FitBH 100”.

Returns: String value representing object state.