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.
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.
SetName_String_FontSchemeTypeSets name and scheme of the font.
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 Color of the font.
SetColorGets or sets the Color 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.
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 Font.
SetName_StringGets or sets the name of the Font.