Font
Overview
Font is a class in Aspose.Cells FOSS for C++.
Represents font.
This class provides 17 methods for working with Font objects in C++ programs.
Available methods include: Clone, Color, Font, GetBold, GetColor, GetItalic, GetName, GetSize, GetStrikeThrough, GetUnderline, SetBold, SetColor, and 5 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: Color.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
Color | Color | Read | Gets the color. |
Methods
| Signature | Description |
|---|---|
Color() → Color | Gets or sets the color. |
Font() | Initializes a new instance of the class. |
GetName() → std::string | Gets or sets the name. |
SetName(value: std::string) | Sets the name. |
GetSize() → double | Gets or sets the size. |
SetSize(value: double) | Sets the size. |
GetBold() → bool | Gets or sets a value indicating whether bold. |
SetBold(value: bool) | Sets a value indicating whether bold. |
GetItalic() → bool | Gets or sets a value indicating whether italic. |
SetItalic(value: bool) | Sets a value indicating whether italic. |
GetUnderline() → bool | Gets or sets a value indicating whether underline. |
SetUnderline(value: bool) | Sets a value indicating whether underline. |
GetStrikeThrough() → bool | Gets or sets a value indicating whether strike through. |
SetStrikeThrough(value: bool) | Sets a value indicating whether strike through. |
GetColor() → Color | Gets or sets the color. |
SetColor(value: Color) | Sets the color. |
Clone() → Font | Creates a copy of the current instance. The font. |