Font Class
Contents
[
Hide
]Font class
Encapsulates the font object used in a spreadsheet.
type Font struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetCharset | Represent the character set. |
| SetCharset | Represent the character set. |
| IsItalic | Gets or sets a value indicating whether the font is italic. |
| SetIsItalic | Gets or sets a value indicating whether the font is italic. |
| IsBold | Gets or sets a value indicating whether the font is bold. |
| SetIsBold | Gets or sets a value indicating whether the font is bold. |
| GetCapsType | Gets and sets the text caps type. |
| SetCapsType | Gets and sets the text caps type. |
| GetStrikeType | Gets the strike type of the text. |
| SetStrikeType | Gets the strike type of the text. |
| IsStrikeout | Gets or sets a value indicating whether the font is single strikeout. |
| SetIsStrikeout | Gets or sets a value indicating whether the font is single strikeout. |
| GetScriptOffset | Gets and sets the script offset,in unit of percentage |
| SetScriptOffset | Gets and sets the script offset,in unit of percentage |
| IsSuperscript | Gets or sets a value indicating whether the font is super script. |
| SetIsSuperscript | Gets or sets a value indicating whether the font is super script. |
| IsSubscript | Gets or sets a value indicating whether the font is subscript. |
| SetIsSubscript | Gets or sets a value indicating whether the font is subscript. |
| GetUnderline | Gets or sets the font underline type. |
| SetUnderline | Gets or sets the font underline type. |
| GetDoubleSize | Gets and sets the double size of the font. |
| SetDoubleSize | Gets and sets the double size of the font. |
| GetSize | Gets or sets the size of the font. |
| SetSize | Gets or sets the size of the font. |
| GetThemeColor | Gets and sets the theme color. |
| SetThemeColor | Gets and sets the theme color. |
| GetColor | Gets or sets the Color of the font. |
| SetColor | Gets or sets the Color of the font. |
| GetArgbColor | Gets and sets the color with a 32-bit ARGB value. |
| SetArgbColor | Gets and sets the color with a 32-bit ARGB value. |
| Equals | Checks if two fonts are equals. |
| IsNormalizeHeights | Indicates whether the normalization of height that is to be applied to the text run. |
| SetIsNormalizeHeights | Indicates whether the normalization of height that is to be applied to the text run. |
| GetSchemeType | Gets and sets the scheme type of the font. |
| SetSchemeType | Gets and sets the scheme type of the font. |
| ToString | Returns a string represents the current Cell object. |
| GetName | Gets or sets the name of the Font. |
| SetName | Gets or sets the name of the Font. |