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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
pagePageDOM page object.
topdoubleThe 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:

ParameterTypeDescription
documentDocumentThe parent document that contains this object.
pageNumberintThe destination page number of remote document.
topdoubleThe 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:

ParameterTypeDescription
pageNumberintThe destination page number of remote document.
topdoubleThe 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.