TX Text Control .NET Documentation

FormattingStyle Class

The FormattingStyle class is the base class for the InlineStyle and ParagraphStyle classes. It implements the functionality common to all formatting styles.

Syntax:
[C#] public class FormattingStyle
[Visual Basic] # Public Class FormattingStyle
Introduced:10.1

Properties

PropertyDescription
BaselineGets or sets the baseline alignment, in twips, of the style.

BoldGets or sets the bold attribute of the style.

FontNameGets or sets the font of the style.

FontSizeGets or sets the font's size of the style.

ForeColorGets or sets the style's color used to display the text.

ItalicGets or sets the italic attribute of the style.

NameGets or sets the name of the style.

StrikeoutGets or sets the strikeout attribute of the style.

TextBackColorGets or sets the style's text background color.

UnderlineGets or sets underlining styles for the style.

Methods

MethodDescription
ApplyApplies all set attributes of the style to the current document.

See also:Stylesheet Programming, Graphical Overview.