IFormattedText Class
- Namespace
TXTextControl.Web
- Package
TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb
- Assembly
TXTextControl.Web. DocumentEditor. dll
- Install
dotnet add package TXTextControl.Web
- Implemented by
- Text
Part
Description
The Web.IFormattedText interface contains properties common to all text parts in a TX Text Control document. The following classes implement this interface: Web.TextPart.
Syntax
public interface IFormattedTextPublic Interface IFormattedTextExamples
The following example inspects an IFormatted Text object supplied by the document workflow.
var currentValue = iFormattedText.Selection;
Console.WriteLine($"Selection: {currentValue}");Dim currentValue = iFormattedText.Selection
Console.WriteLine($"Selection: {currentValue}")Members
Properties
| Property | Description |
|---|---|
| Selection | Gets or sets the current selection. The property value is an object of the type Web.Selection. For more information see the description of the Web.Selection class. |