public enum ResolutionMode extends java.lang.Enum<ResolutionMode>
Specifies the resolution mode used to create barcode image.
Enum Constant and Description |
---|
CUSTOMIZED
Apply the resolution of the barcode image according to the user defined DpiX and DpiY properties.
|
GRAPHICS
Apply the resolution of the barcode image according to the resolution of the specified Graphics object.
|
PRINTER
Apply the resolution of the barcode image according to the resolution of the specified printer.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ResolutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionMode GRAPHICS
Apply the resolution of the barcode image according to the resolution of the specified Graphics object.
public static final ResolutionMode CUSTOMIZED
Apply the resolution of the barcode image according to the user defined DpiX and DpiY properties.
public static final ResolutionMode PRINTER
Apply the resolution of the barcode image according to the resolution of the specified printer.
public static ResolutionMode[] values()
for (ResolutionMode c : ResolutionMode.values()) System.out.println(c);
public static ResolutionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()