Package net.webpdf.wsclient.openapi
Enum OperationViewerPreferences.PrintScalingEnum
- java.lang.Object
-
- java.lang.Enum<OperationViewerPreferences.PrintScalingEnum>
-
- net.webpdf.wsclient.openapi.OperationViewerPreferences.PrintScalingEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationViewerPreferences.PrintScalingEnum>
- Enclosing class:
- OperationViewerPreferences
public static enum OperationViewerPreferences.PrintScalingEnum extends Enum<OperationViewerPreferences.PrintScalingEnum>
Selects the page * scaling mode for printouts of the document. (This setting is only a dialog default and can be changed by the user at any time). * readerDefault = Use the scaling functions provided by the display program. * noPrintScaling = Do no page scaling and print the pages in original size.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOPRINTSCALINGREADERDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationViewerPreferences.PrintScalingEnumfromValue(String value)StringgetValue()StringtoString()static OperationViewerPreferences.PrintScalingEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationViewerPreferences.PrintScalingEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READERDEFAULT
public static final OperationViewerPreferences.PrintScalingEnum READERDEFAULT
-
NOPRINTSCALING
public static final OperationViewerPreferences.PrintScalingEnum NOPRINTSCALING
-
-
Method Detail
-
values
public static OperationViewerPreferences.PrintScalingEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationViewerPreferences.PrintScalingEnum c : OperationViewerPreferences.PrintScalingEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationViewerPreferences.PrintScalingEnum valueOf(String name)
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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationViewerPreferences.PrintScalingEnum>
-
fromValue
public static OperationViewerPreferences.PrintScalingEnum fromValue(String value)
-
-