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
| Value | Description |
|---|---|
REGULAR | Specifies the Regular embedded font. |
BOLD | Specifies the Bold embedded font. |
ITALIC | Specifies the Italic embedded font. |
BOLD_ITALIC | Specifies the Bold-Italic embedded font. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of EmbeddedFontStyle values. |
Methods
| Signature | Description |
|---|---|
getName(embeddedFontStyle: int) → String | Returns JAVA_STYLE string representation of integer EmbeddedFontStyle value. |
getNames(embeddedFontStyle: int) → Set<String> | Returns string representation of integer EmbeddedFontStyle value. |
toString(embeddedFontStyle: int) → String | Returns DotNetStyle string representation of integer EmbeddedFontStyle value. |
toStringSet(attr: int) → String | Returns DotNetStyle string representation of integer EmbeddedFontStyle value. |
fromName(embeddedFontStyleName: String) → int | Returns integer representation by EmbeddedFontStyle name. |
fromNames(embeddedFontStyleNames: Set<String>) → int | Returns flags integer representation by EmbeddedFontStyle names. |
getValues() → int[] | Returns array of EmbeddedFontStyle values. |