Font
Overview
Font is a class in Aspose.Cells FOSS for .NET.
Represents font.
This class provides 4 methods for working with Font objects in .NET programs.
Available methods include: Equals, GetHashCode, ToString.
All public members are accessible to any .NET application after installing the Aspose.Cells FOSS for .NET package.
Properties: ArgbColor, Color, DoubleSize, IsBold, IsItalic, IsStrikeout, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | Gets or sets the name. |
Size | double | Read/Write | Gets or sets the size. |
DoubleSize | double | Read/Write | Gets or sets the font size. |
Underline | FontUnderlineType | Read/Write | Gets or sets the font underline type. |
IsBold | bool | Read/Write | Gets or sets a value indicating whether bold. |
IsItalic | bool | Read/Write | Gets or sets a value indicating whether italic. |
IsStrikeout | bool | Read/Write | Gets or sets a value indicating whether single strikeout. |
Color | Color | Read/Write | Gets or sets the color. |
ArgbColor | int | Read/Write | Gets or sets the color with a 32-bit ARGB value. |
Methods
| Signature | Description |
|---|---|
Equals(font: Font) | Checks whether this font equals to another font instance. |
Equals(obj: object) | Determines whether the specified object is equal to the current font instance. |
GetHashCode() | Serves as a hash function for a font object. |
ToString() | Returns a string that represents the current font object. |