FontValue
Overview
FontValue is a class in Aspose.Cells FOSS for Java.
Represents a font value with its properties.
This class provides 17 methods for working with FontValue objects in Java programs.
Available methods include: clone, getBold, getColor, getItalic, getName, getRawFontXml, getSize, getStrikeThrough, getUnderline, setBold, setColor, setItalic, and 5 additional methods.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: bold, color, italic, name, rawFontXml, size, and 2 more.
Description
FontValue is a class in the Aspose.Cells FOSS library for Java that exposes 17 methods and 8 properties for programmatic use.
Core capabilities include: string; double; boolean. These operations enable developers to integrate fontvalue functionality directly into Java applications.
The class also provides the name property (returns the name), the size property (returns the size), the bold property (returns the bold).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Returns the name. |
size | double | Read | Returns the size. |
bold | boolean | Read | Returns the bold. |
italic | boolean | Read | Returns the italic. |
underline | boolean | Read | Returns the underline. |
strikeThrough | boolean | Read | Returns the strike through. |
color | ColorValue | Read | Returns the color. |
rawFontXml | String | Read | Creates a copy of this instance. |
Methods
| Signature | Description |
|---|---|
getName() → String | Returns the name. |
setName(name: String) | Sets the name. |
getSize() → double | Returns the size. |
setSize(size: double) | Sets the size. |
getBold() → boolean | Returns the bold. |
setBold(bold: boolean) | Sets the bold. |
getItalic() → boolean | Returns the italic. |
setItalic(italic: boolean) | Sets the italic. |
getUnderline() → boolean | Returns the underline. |
setUnderline(underline: boolean) | Sets the underline. |
getStrikeThrough() → boolean | Returns the strike through. |
setStrikeThrough(strikeThrough: boolean) | Sets the strike through. |
getColor() → ColorValue | Returns the color. |
setColor(color: ColorValue) | Sets the color. |
getRawFontXml() → String | Creates a copy of this instance. |
setRawFontXml(rawFontXml: String) | Sets the raw font xml value. |
clone() → FontValue |