Skip to main content

Font

The Font class represents the font styling attributes for form controls, including family, size, color, and text decorations.

Properties​

NameDescription
ItalicIndicates whether the font is italic.
BoldIndicates whether the font is bold.
ColorThe font color of the control.
UnderlineIndicates whether the font is underlined.
StrikethroughIndicates whether the font has a strikethrough.
FamilyThe font family of the control.
SizeThe font size of the control.

Constructors​

NameDescription
Font()Initializes a new instance of the Font class with default values.

Methods​

NameDescription
GetDifferences(otherObj)Compares the current instance with another font and returns the differences.