Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.

LineCollection Class

An instance of the LineCollection class contains all text lines in a Text Control document or part of the document represented through objects of the type Line. An instance of this class can be obtained with the TextControl.Lines, HeaderFooter.Lines or TextFrame.Lines property. The LineCollection class implements the IEnumerable and the ICollection interfaces.

Syntax: 
[C#]
public class LineCollection : ICollection, IEnumerable
[Visual Basic]
Public Class LineCollection
  Implements ICollection
  Implements IEnumerable
Introduced:  10.1

Properties

Property   Description
 
Count Gets the number of elements contained in the collection.

Methods

Method   Description
 
CopyTo Copies the elements of the collection to an array, starting at a particular index.

GetEnumerator Returns an enumerator that can be used to iterate through the collection.

GetItem Gets a particular line from the collection.

Item Gets the line from the collection.

See also:  Line and Character Operations, Graphical Overview.
External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified