public enum ExplicitDestinationType extends Enum<ExplicitDestinationType>
Enumerates the types of explicit destinations.
Enum Constant and Description |
---|
Fit
Display the page with its contents magnified just enough to fit the entire page within the
window both horizontally and vertically.
|
FitB
Display the page with its contents magnified just enough to fit its bounding box entirely
within the window both horizontally and vertically.
|
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
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
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
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
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
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.
|
Modifier and Type | Method and Description |
---|---|
static ExplicitDestinationType |
getByValue(int value) |
int |
getValue() |
static ExplicitDestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExplicitDestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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. A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.
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. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.
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. A null value for top specifies that the current value of that parameter is to be retained unchanged.
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. A null value for left specifies that the current value of that parameter is to be retained unchanged.
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. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension. A null value for any of the parameters may result in unpredictable behavior.
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. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the bounding box within the window in the other dimension.
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. A null value for top specifies that the current value of that parameter is to be retained unchanged.
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. A null value for left specifies that the current value of that parameter is to be retained unchanged.
public static ExplicitDestinationType[] values()
for (ExplicitDestinationType c : ExplicitDestinationType.values()) System.out.println(c);
public static ExplicitDestinationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static ExplicitDestinationType getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.