TextStyle

TextStyle class

Change the visual style of the text for an item in the project view.

The TextStyle type exposes the following members:

Constructors

NameDescription
TextStyle()Initializes a new instance of the TextStyle class with default settings.
TextStyle(font_size, font_style)Initializes a new instance of the TextStyle class with the default font and specified font size and style.
TextStyle(font_style)Initializes a new instance of the TextStyle class with the default font and specified font size and style.
TextStyle(font)Initializes a new instance of the TextStyle class with the specified font settings.

Properties

NameDescription
fontGets or sets font of the text style.
colorGets or sets color of the text.
item_typeGets or sets TextItemType of the text style.
background_patternGets or sets background pattern of the text style.
background_pattern.
background_colorGets or sets background color of the text style.
color.

See Also