Font

Overview

Font is a class in Aspose.Cells FOSS for C++.

Represents font.

This class provides 17 methods for working with Font objects in C++ programs. Available methods include: Clone, Color, Font, GetBold, GetColor, GetItalic, GetName, GetSize, GetStrikeThrough, GetUnderline, SetBold, SetColor, and 5 additional methods. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package. Accessor methods: Color.

Accessor Methods

NameTypeAccessDescription
ColorColorReadGets the color.

Methods

SignatureDescription
Color()ColorGets or sets the color.
Font()Initializes a new instance of the class.
GetName()std::stringGets or sets the name.
SetName(value: std::string)Sets the name.
GetSize()doubleGets or sets the size.
SetSize(value: double)Sets the size.
GetBold()boolGets or sets a value indicating whether bold.
SetBold(value: bool)Sets a value indicating whether bold.
GetItalic()boolGets or sets a value indicating whether italic.
SetItalic(value: bool)Sets a value indicating whether italic.
GetUnderline()boolGets or sets a value indicating whether underline.
SetUnderline(value: bool)Sets a value indicating whether underline.
GetStrikeThrough()boolGets or sets a value indicating whether strike through.
SetStrikeThrough(value: bool)Sets a value indicating whether strike through.
GetColor()ColorGets or sets the color.
SetColor(value: Color)Sets the color.
Clone()FontCreates a copy of the current instance. The font.

See Also

 English