ImageColorMode

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

ValueDescription
NONEThe pages of the document will be rendered as color images.
GRAYSCALEThe pages of the document will be rendered as grayscale images.
BLACK_AND_WHITEThe pages of the document will be rendered as black and white images.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ImageColorMode values.

Methods

SignatureDescription
getName(imageColorMode: int) → StringReturns JAVA_STYLE string representation of integer ImageColorMode value.
toString(imageColorMode: int) → StringReturns DotNetStyle string representation of integer ImageColorMode value.
fromName(imageColorModeName: String) → intReturns integer representation by ImageColorMode name.
getValues() → int[]Returns array of ImageColorMode values.

See Also