TX Text Control .NET for Windows Forms Documentation

ParagraphCollection.GetItem Method

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

Syntax

[C#] public Paragraph GetItem(Point location); public Paragraph GetItem(int textPosition);
[Visual Basic] Public Function GetItem(ByVal location As Point) As Paragraph Public Function GetItem(ByVal textPosition As Integer) As Paragraph
ParameterDescription
location

Specifies the paragraph'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 paragraph could not be found. Otherwise, it is an object of the type Paragraph.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now