Font
Overview
Font is a class in Aspose.Cells FOSS for .NET.
Represents font.
This class provides 2 methods for working with Font objects in Go programs.
Available methods include: Equals, ToString.
All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.
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 double size. |
Underline | FontUnderlineType | Read/Write | Gets or sets the underline. |
IsBold | bool | Read/Write | Gets or sets the is bold. |
IsItalic | bool | Read/Write | Gets or sets the is italic. |
IsStrikeout | bool | Read/Write | Gets or sets the is strikeout. |
Color | Color | Read/Write | Gets or sets the color. |
ArgbColor | int | Read/Write | Gets or sets the argb color. |
Methods
| Signature | Description |
|---|---|
Equals(font: Font) | Checks whether this font equals to another font instance. |
ToString() | Returns a string that represents the current font object. |