Length Property
- Namespace
TXTextControl.Web
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Returns the number of characters selected. If this property is zero, no text is selected and the Start property determines the current text input position.
Syntax
public int Length { get; }Public ReadOnly Property Length As IntegerExamples
The following example checks Selection.Length before continuing the web document workflow.
var configuredValue = selection.Length;
Console.WriteLine($"Length used by Selection: {configuredValue}");Dim configuredValue = selection.Length
Console.WriteLine($"Length used by Selection: {configuredValue}")Limitations
Read only.