Font Class

Font class

Encapsulates the font object used in a spreadsheet.


type Font struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetCharsetRepresent the character set.
SetCharsetRepresent the character set.
IsItalicGets or sets a value indicating whether the font is italic.
SetIsItalicGets or sets a value indicating whether the font is italic.
IsBoldGets or sets a value indicating whether the font is bold.
SetIsBoldGets or sets a value indicating whether the font is bold.
GetCapsTypeGets and sets the text caps type.
SetCapsTypeGets and sets the text caps type.
GetStrikeTypeGets the strike type of the text.
SetStrikeTypeGets the strike type of the text.
IsStrikeoutGets or sets a value indicating whether the font is single strikeout.
SetIsStrikeoutGets or sets a value indicating whether the font is single strikeout.
GetScriptOffsetGets and sets the script offset,in unit of percentage
SetScriptOffsetGets and sets the script offset,in unit of percentage
IsSuperscriptGets or sets a value indicating whether the font is super script.
SetIsSuperscriptGets or sets a value indicating whether the font is super script.
IsSubscriptGets or sets a value indicating whether the font is subscript.
SetIsSubscriptGets or sets a value indicating whether the font is subscript.
GetUnderlineGets or sets the font underline type.
SetUnderlineGets or sets the font underline type.
GetDoubleSizeGets and sets the double size of the font.
SetDoubleSizeGets and sets the double size of the font.
GetSizeGets or sets the size of the font.
SetSizeGets or sets the size of the font.
GetThemeColorGets and sets the theme color.
SetThemeColorGets and sets the theme color.
GetColorGets or sets the of the font.
SetColorGets or sets the of the font.
GetArgbColorGets and sets the color with a 32-bit ARGB value.
SetArgbColorGets and sets the color with a 32-bit ARGB value.
EqualsChecks if two fonts are equals.
IsNormalizeHeightsIndicates whether the normalization of height that is to be applied to the text run.
SetIsNormalizeHeightsIndicates whether the normalization of height that is to be applied to the text run.
GetSchemeTypeGets and sets the scheme type of the font.
SetSchemeTypeGets and sets the scheme type of the font.
ToStringReturns a string represents the current Cell object.
GetNameGets or sets the name of the .
SetNameGets or sets the name of the .