FontStyle

FontStyle enum

Module: aspose_barcode.generation.font_style

Specifies style information applied to text.

Enum Values

NameValueDescription
BOLD1Bold text.
ITALIC2Italic text.
REGULAR0Normal text.
STRIKEOUT8Text with a line through the middle.
UNDERLINE4Underlined text.

FontStyle.BOLD

Type: int

Value: 1

Bold text.

FontStyle.ITALIC

Type: int

Value: 2

Italic text.

FontStyle.REGULAR

Type: int

Value: 0

Normal text.

FontStyle.STRIKEOUT

Type: int

Value: 8

Text with a line through the middle.

FontStyle.UNDERLINE

Type: int

Value: 4

Underlined text.