Returns the extension of the complete text in twips. The text width is the largest line width of the currently contained text. Both values are in 100 percent independent of the zoom factor currently set. The text height is at least the height of the first line even if there is no text.
TXTextControl.GetTextExtent
The method returns an array of 2 long values specifying the width and the height of the text.
Return value: | Array of 2 Long |
<< TXTextControl.GetLineRect Method | >> TXTextControl.GrowFont Method