ColorType
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class ColorType extends System.Enum
Specifies color type of elements on page.
Fields
Field | Description |
---|---|
Rgb | RGB color type. |
Grayscale | Grayscale color type. |
BlackAndWhite | Black and white color type. |
Undefined | Undefined color type value. |
Methods
Method | Description |
---|---|
getName(int value) | Returns String name for the enum value. |
Rgb
public static final int Rgb
RGB color type.
Grayscale
public static final int Grayscale
Grayscale color type.
BlackAndWhite
public static final int BlackAndWhite
Black and white color type.
Undefined
public static final int Undefined
Undefined color type value.
getName(int value)
public static String getName(int value)
Returns String name for the enum value.
Example: String s = ColorType.getName(ColorType.Grayscale);
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | Enum value |
Returns: java.lang.String - Value’s name