ExplicitDestinationType

Inheritance: java.lang.Object, java.lang.Enum < ExplicitDestinationType > com.aspose.pdf.ExplicitDestinationType, java.lang.Enum < ExplicitDestinationType >, com.aspose.pdf.ExplicitDestinationType

All Implemented Interfaces: Serializable, Comparable < ExplicitDestinationType >

public enum ExplicitDestinationType extends Enum < ExplicitDestinationType >

Enumerates the types of explicit destinations.

Fields

FieldDescription
FitDisplay the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.
FitBDisplay the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.
FitBHDisplay 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.
FitBVDisplay the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window.
FitHDisplay 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.
FitRDisplay the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and topentirely within the window both horizontally and vertically.
FitVDisplay the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window.
XYZDisplay the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

Fit

public static final ExplicitDestinationType Fit

Display the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.

FitB

public static final ExplicitDestinationType FitB

Display the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.

FitBH

public static final ExplicitDestinationType FitBH

Display 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.

FitBV

public static final ExplicitDestinationType FitBV

Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window.

FitH

public static final ExplicitDestinationType FitH

Display 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.

FitR

public static final ExplicitDestinationType FitR

Display the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and topentirely within the window both horizontally and vertically.

FitV

public static final ExplicitDestinationType FitV

Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window.

XYZ

public static final ExplicitDestinationType XYZ

Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom.

getByValue

public static ExplicitDestinationType getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static ExplicitDestinationType [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared