TXTextControl.Line.TextBounds Property

Gets the bounding rectangle of the text belonging to the line. The values are given in twips with an origin at the upper left corner of the document. The relationship between the upper left corner of the document and the upper left corner of the visible portion of the document can be obtained with the TextControl.ScrollLocation property.

Syntax

[C#]
public Rectangle TextBounds { get; }
[Visual Basic]
Public ReadOnly Property TextBounds() As Rectangle

Limitations

Read only.

See Also