Lines Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a collection of all lines contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type LineCollection.
Syntax
public LineCollection Lines { get; }Public ReadOnly Property Lines As LineCollectionExamples
The following example iterates through the lines collection and processes each line.
foreach (Line line in textControl.Lines)
{
Console.WriteLine(line.Baseline);
}For Each line As Line In textControl.Lines
Console.WriteLine(line.Baseline)
NextLimitations
Read only.