Length Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the number of characters in the section. The section break character is not included.
Syntax
public int Length { get; }Public ReadOnly Property Length As IntegerExamples
The following example works with the first section of the current document by using Section.Length.
Section section = textControl.Sections[1];
textControl.Select(section.Start, section.Length);
Console.WriteLine("Section is ready for use.");Dim section As Section = textControl.Sections(1)
textControl.Select(section.Start, section.Length)
Console.WriteLine("Section is ready for use.")Limitations
Read only.