FontValue

Overview

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

Represents font value.

This class provides 17 methods for working with FontValue objects in C++ programs. Available methods include: Clone, ColorValue, FontValue, 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: ColorValue.

Accessor Methods

NameTypeAccessDescription
ColorValueColorValueReadGets the color value.

Methods

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

See Also

 English