ColorMode
Overview
ColorMode is an enum in Aspose.Words FOSS for Java.
Specifies how colors are rendered.
Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.
This enum declares 4 methods for ColorMode objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
NORMAL | Rendering with unmodified colors. |
GRAYSCALE | Rendering with colors in a range of gray shades from white to black. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ColorMode values. |
Methods
| Signature | Description |
|---|---|
getName(colorMode: int) → String | Returns JAVA_STYLE string representation of integer ColorMode value. |
toString(colorMode: int) → String | Returns DotNetStyle string representation of integer ColorMode value. |
fromName(colorModeName: String) → int | Returns integer representation by ColorMode name. |
getValues() → int[] | Returns array of ColorMode values. |