EmbeddedFontStyle

EmbeddedFontStyle

Overview

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

Specifies the style of an embedded font inside a FontInfo object.

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

This enum declares 7 methods for EmbeddedFontStyle objects in Java programs. Available methods include: fromName, fromNames, getName, getNames, getValues, toString, toStringSet. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
REGULARSpecifies the Regular embedded font.
BOLDSpecifies the Bold embedded font.
ITALICSpecifies the Italic embedded font.
BOLD_ITALICSpecifies the Bold-Italic embedded font.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of EmbeddedFontStyle values.

Methods

SignatureDescription
getName(embeddedFontStyle: int) → StringReturns JAVA_STYLE string representation of integer EmbeddedFontStyle value.
getNames(embeddedFontStyle: int) → Set<String>Returns string representation of integer EmbeddedFontStyle value.
toString(embeddedFontStyle: int) → StringReturns DotNetStyle string representation of integer EmbeddedFontStyle value.
toStringSet(attr: int) → StringReturns DotNetStyle string representation of integer EmbeddedFontStyle value.
fromName(embeddedFontStyleName: String) → intReturns integer representation by EmbeddedFontStyle name.
fromNames(embeddedFontStyleNames: Set<String>) → intReturns flags integer representation by EmbeddedFontStyle names.
getValues() → int[]Returns array of EmbeddedFontStyle values.

See Also