Selection Property
- Namespace
TXTextControl.Web
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
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.
Syntax
Selection Selection { get; set; }Property Selection As SelectionExamples
The following example configures IFormattedText.Selection and checks the resulting web document component setting before it is used.
iFormattedText.Selection = new TXTextControl.Web.Selection();
if (iFormattedText.Selection != null)
{
Console.WriteLine("Selection is available for IFormatted Text.");
}iFormattedText.Selection = New TXTextControl.Web.Selection()
If iFormattedText.Selection IsNot Nothing Then
Console.WriteLine("Selection is available for IFormatted Text.")
End If