Font

Overview

Font is a class in Aspose.Cells FOSS for .NET.

Represents font.

This class provides 2 methods for working with Font objects in Go programs. Available methods include: Equals, ToString. All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go. Properties: ArgbColor, Color, DoubleSize, IsBold, IsItalic, IsStrikeout, and 3 more.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets or sets the name.
SizedoubleRead/WriteGets or sets the size.
DoubleSizedoubleRead/WriteGets or sets the double size.
UnderlineFontUnderlineTypeRead/WriteGets or sets the underline.
IsBoldboolRead/WriteGets or sets the is bold.
IsItalicboolRead/WriteGets or sets the is italic.
IsStrikeoutboolRead/WriteGets or sets the is strikeout.
ColorColorRead/WriteGets or sets the color.
ArgbColorintRead/WriteGets or sets the argb color.

Methods

SignatureDescription
Equals(font: Font)Checks whether this font equals to another font instance.
ToString()Returns a string that represents the current font object.

See Also