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

LineCollection.GetItem Method

Description:  Gets a particular line from the collection. The first implementation looks for a line at a certain geometrical position. The second implementation looks for a line at a certain text position.

Syntax: 
[C#]
public Line GetItem(Point location);
public Line GetItem(int textPosition);
[Visual Basic]
Public Function GetItem(ByVal location As Point) As Line
Public Function GetItem(ByVal textPosition As Integer) As Line
Parameter   Description
 
location Specifies the line's location. The point must be specified in pixels with an origin at the top left corner of the control.

textPosition Specifies a zero-based text position.

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

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