Character Formatting

Properties

Property Description
TXTextControl.TXTextControl.BaseLine Specifies the baseline alignment for selected text.
TXTextControl.TXTextControl.FontBold Returns or sets the bold font style.
TXTextControl.TXTextControl.FontItalic Returns or sets the italic font style.
TXTextControl.TXTextControl.FontName Returns or sets the font used to display text.
TXTextControl.TXTextControl.FontSize Returns or sets a value that specifies the size of the font used to display text.
TXTextControl.TXTextControl.FontStrikethru Returns or sets the strike thru font style.
TXTextControl.TXTextControl.FontUnderline Returns or sets the underline font style.
TXTextControl.TXTextControl.FontUnderlineStyle This property determines styles for the FontUnderline property.
TXTextControl.TXTextControl.ForeColor Returns or sets the color used to display text in a Text Control.
TXTextControl.TXTextControl.TextBkColor Returns or sets the background color for selected text.

Methods

Method Description
TXTextControl.TXTextControl.FontDialog Invokes the Text Control's built-in font dialog box and, after the user has closed the dialog box, specifies whether he has changed something.
TXTextControl.TXTextControl.GrowFont Increases the font size of each font contained in the current text selection.
TXTextControl.TXTextControl.InsertSymbolDialog Opens a modeless dialog box which can be used to insert symbol characters.
TXTextControl.TXTextControl.ShrinkFont Decreases the font size of each font contained in the current text selection.

Events

Event Description
TXTextControl.TXTextControl.CharFormatChange Occurs when the formatting attributes of the selected characters have been changed.