MainText 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
- Inherits
- Text
Part - Main
Text
- Text
- Implements
- IFormatted
Text
Description
The Web.MainText class represents the main text of a TX Text Control document. The Web.MainText class inherits from the Web.TextPart class.
Syntax
public class MainText : TextPartPublic Class MainText
Inherits TextPartExamples
The following example inspects a Main Text object supplied by the document workflow.
var currentValue = mainText.Selection;
Console.WriteLine($"Selection: {currentValue}");Dim currentValue = mainText.Selection
Console.WriteLine($"Selection: {currentValue}")