ImageColorMode
Overview
ImageColorMode is an enum in Aspose.Words FOSS for Java.
Specifies the color mode for the generated images of document pages.
Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.
This enum declares 4 methods for ImageColorMode 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 |
|---|---|
NONE | The pages of the document will be rendered as color images. |
GRAYSCALE | The pages of the document will be rendered as grayscale images. |
BLACK_AND_WHITE | The pages of the document will be rendered as black and white images. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ImageColorMode values. |
Methods
| Signature | Description |
|---|---|
getName(imageColorMode: int) → String | Returns JAVA_STYLE string representation of integer ImageColorMode value. |
toString(imageColorMode: int) → String | Returns DotNetStyle string representation of integer ImageColorMode value. |
fromName(imageColorModeName: String) → int | Returns integer representation by ImageColorMode name. |
getValues() → int[] | Returns array of ImageColorMode values. |