public enum BmpPrintMode extends java.lang.Enum<BmpPrintMode>
| Enum Constant and Description |
|---|
MODE_MULTI_COLOR
适合多阶灰度打印
Suitable for multi-level grayscale printing |
MODE_SINGLE_COLOR
适合白纸黑字打印
Suitable for printing black and white paper |
| Modifier and Type | Method and Description |
|---|---|
static BmpPrintMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BmpPrintMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BmpPrintMode MODE_SINGLE_COLOR
public static final BmpPrintMode MODE_MULTI_COLOR
public static BmpPrintMode[] values()
for (BmpPrintMode c : BmpPrintMode.values()) System.out.println(c);
public static BmpPrintMode 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 null