InputFormat Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets an object of the type InputFormat which represents all formatting attributes at the current text input position.
Syntax
public InputFormat InputFormat { get; }Public ReadOnly Property InputFormat As InputFormatExamples
The following example configures bold input at the end of a report heading.
textControl.Text = "Quarterly results";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
textControl.InputFormat.Bold = true;textControl.Text = "Quarterly results"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
textControl.InputFormat.Bold = TrueLimitations
Runtime only.
Read only.