InputFormat Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. 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 applies bold formatting through the text view generator's selection by using TextViewGenerator.InputFormat.
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;
Console.WriteLine($"Input Format: {textViewGenerator.InputFormat}");
Console.WriteLine("Text View Generator is ready for use.");Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
Console.WriteLine($"Input Format: {textViewGenerator.InputFormat}")
Console.WriteLine("Text View Generator is ready for use.")Limitations
Runtime only.
Read only.