ThemeColor

Overview

ThemeColor is an enum in Aspose.Words FOSS for Java.

Specifies the theme colors for document themes.

Edition status of its 22 listed members (a property and its accessor methods are listed separately, overloads once): 22 not yet exercised by a verified example.

This enum declares 4 methods for ThemeColor 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
NONENo color.
DARK_1Dark main color 1.
LIGHT_1Light main color 1.
DARK_2Dark main color 2.
LIGHT_2Light main color 2.
ACCENT_1Accent color 1.
ACCENT_2Accent color 2.
ACCENT_3Accent color 3.
ACCENT_4Accent color 4.
ACCENT_5Accent color 5.
ACCENT_6Accent color 6.
HYPERLINKHyperlink color.
FOLLOWED_HYPERLINKFollowed hyperlink color.
TEXT_1Text color 1.
TEXT_2Text color 2.
BACKGROUND_1Background color 1.
BACKGROUND_2Background color 2.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ThemeColor values.

Methods

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

See Also