FontValue
Overview
FontValue is a class in Aspose.Cells FOSS for Java.
Represents a font value with its properties.
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. |
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. |
clone() → FontValue | Creates a copy of this instance. |