TXTextControl.LineCollection.Item Property

Gets the line from the collection. In C# this property is the indexer for the LineCollection class.

Syntax

[C#]
public Line this [int number] { get; }
[Visual Basic]
Public Default ReadOnly Property Item(ByVal number As Integer) As Line
Parameter Description
number

Specifies a line number. The first line has the number 1.

Return Value

The return value is null, if the line could not be found. Otherwise, it is an object of the type Line.

See Also