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
StrikethroughIndicates whether the font has a strikethrough.
SizeThe font size of the control.
ItalicIndicates whether the font is italic.
UnderlineIndicates whether the font is underlined.
FamilyThe font family of the control.
ColorThe font color of the control.
BoldIndicates whether the font is bold.

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.