Character Formatting

Classes

Class Description
TXTextControl.InputFormat The InputFormat class represents all formatting attributes at the current text input position.

Properties

Property Description
TXTextControl.ServerTextControl.Baseline Gets or sets the baseline alignment, in twips, of the control.
TXTextControl.ServerTextControl.Font Gets or sets the control's font.
TXTextControl.ServerTextControl.FontUnderlineStyle Gets or sets underlining style for the text displayed by the control.
TXTextControl.ServerTextControl.ForeColor Gets or sets the foreground color of the control.
TXTextControl.ServerTextControl.TextBackColor Gets or sets the background color for the text.
TXTextControl.TextControl.Baseline Gets or sets the baseline alignment, in twips, of the Text Control.
TXTextControl.TextControl.FontUnderlineStyle Gets or sets underlining style for the text displayed by the control.
TXTextControl.TextControl.ForeColor Overridden. Gets or sets the foreground color of the control which is the color of the document's text.
TXTextControl.TextControl.InputFormat Gets an object of the type InputFormat which represents all formatting attributes at the current text input position.
TXTextControl.TextControl.TextBackColor Gets or sets the background color for the text.
TXTextControl.WPF.TextControl.Baseline Gets or sets the baseline alignment, in twips, of the Text Control.
TXTextControl.WPF.TextControl.FontFamily Gets or sets the font family of the text control.
TXTextControl.WPF.TextControl.FontSize Gets or sets the font size of the text control in device-independent units (1/96th inch).
TXTextControl.WPF.TextControl.FontStyle Gets or sets the font style of the text control.
TXTextControl.WPF.TextControl.FontUnderlineStyle Gets or sets the underlining style for the text displayed by the control.
TXTextControl.WPF.TextControl.FontWeight Gets or sets the weight or thickness of the text control's font.
TXTextControl.WPF.TextControl.InputFormat Gets an object of the type InputFormat which represents all formatting attributes at the current text input position.

Methods

Method Description
TXTextControl.ServerTextControl.GetSupportedFonts Gets an array of strings specifying the names of all currently supported fonts.
TXTextControl.ServerTextControl.ResetFont Resets the Font property to its default value.
TXTextControl.ServerTextControl.ResetForeColor Resets the ForeColor property to its default value.
TXTextControl.ServerTextControl.ResetTextBackColor Resets the TextBackColor property to its default value.
TXTextControl.TextControl.FontDialog Invokes the built-in font dialog box.
TXTextControl.TextControl.ForeColorDialog Invokes the built-in dialog box for setting the text color.
TXTextControl.TextControl.GetSupportedFonts Gets an array of strings specifying the names of all currently supported fonts.
TXTextControl.TextControl.OnCharFormatChanged Raises the CharFormatChanged event.
TXTextControl.TextControl.OnFontChanged Overridden. See Control.OnFontChanged.
TXTextControl.TextControl.ResetForeColor Overridden. Resets the ForeColor property to its default value.
TXTextControl.TextControl.ResetTextBackColor Resets the TextBackColor property to its default value.
TXTextControl.TextControl.TextBackColorDialog Invokes the built-in dialog box for setting the background color of the text.
TXTextControl.WPF.TextControl.FontDialog Invokes the built-in font dialog box.
TXTextControl.WPF.TextControl.ForeColorDialog Invokes the built-in dialog box for setting the text color.
TXTextControl.WPF.TextControl.GetSupportedFonts Gets an array of strings specifying the names of all currently supported fonts.
TXTextControl.WPF.TextControl.OnCharFormatChanged Raises the CharFormatChanged event.
TXTextControl.WPF.TextControl.TextBackColorDialog Invokes the built-in dialog box for setting the background color of the text.

Events

Event Description
TXTextControl.TextControl.CharFormatChanged Occurs when the character formatting attributes either of the selected characters or the current text input position have been changed.
TXTextControl.WPF.TextControl.CharFormatChanged Occurs when the character formatting attributes either of the selected characters or the current text input position have been changed.