Package com.itextpdf.kernel.pdf
Enum PdfViewerPreferences.PdfViewerPreferencesConstants
java.lang.Object
java.lang.Enum<PdfViewerPreferences.PdfViewerPreferencesConstants>
com.itextpdf.kernel.pdf.PdfViewerPreferences.PdfViewerPreferencesConstants
- All Implemented Interfaces:
-
Serializable
,Comparable<PdfViewerPreferences.PdfViewerPreferencesConstants>
,java.lang.constant.Constable
- Enclosing class:
- PdfViewerPreferences
public static enum PdfViewerPreferences.PdfViewerPreferencesConstants extends Enum<PdfViewerPreferences.PdfViewerPreferencesConstants>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPage scaling option constant forPdfName.PrintScaling
.The paper handling option constant forPdfName.Duplex
.The paper handling option constant forPdfName.Duplex
.Direction constant forPdfName.Direction
.Page scaling option constant forPdfName.PrintScaling
.PrintArea constant.PrintClip constant.Direction constant forPdfName.Direction
.The paper handling option constant forPdfName.Duplex
.PageMode constant forPdfName.NonFullScreenPageMode
.PageMode constant forPdfName.NonFullScreenPageMode
.PageMode constant forPdfName.NonFullScreenPageMode
.PageMode constant forPdfName.NonFullScreenPageMode
.ViewArea constant.ViewClip constant. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
USE_NONE
PageMode constant forPdfName.NonFullScreenPageMode
. -
USE_OUTLINES
PageMode constant forPdfName.NonFullScreenPageMode
. -
USE_THUMBS
PageMode constant forPdfName.NonFullScreenPageMode
. -
USE_OC
PageMode constant forPdfName.NonFullScreenPageMode
. -
LEFT_TO_RIGHT
Direction constant forPdfName.Direction
. -
RIGHT_TO_LEFT
Direction constant forPdfName.Direction
. -
MEDIA_BOX
-
CROP_BOX
-
BLEED_BOX
-
TRIM_BOX
-
ART_BOX
-
VIEW_AREA
ViewArea constant. -
VIEW_CLIP
ViewClip constant. -
PRINT_AREA
PrintArea constant. -
PRINT_CLIP
PrintClip constant. -
NONE
Page scaling option constant forPdfName.PrintScaling
. -
APP_DEFAULT
Page scaling option constant forPdfName.PrintScaling
. -
SIMPLEX
The paper handling option constant forPdfName.Duplex
. -
DUPLEX_FLIP_SHORT_EDGE
The paper handling option constant forPdfName.Duplex
. -
DUPLEX_FLIP_LONG_EDGE
The paper handling option constant forPdfName.Duplex
.
-
-
Method Details
-
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
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
-
name
- the name of the enum constant to be returned. - Returns:
- the enum constant with the specified name
- Throws:
-
IllegalArgumentException
- if this enum type has no constant with the specified name -
NullPointerException
- if the argument is null
-