Returns the baseline position of the specified line. The dimensions are given in twips with an origin at the upper left corner of the text. The relationship between the upper left corner of the text and the upper left corner of the control can be obtained with the ScrollPosY property.
TXTextControl.GetBaseLinePos Line
Parameter | Description | |
Line |
Specifies the index of the line whose baseline position is returned. The index of the first line is zero. |
The method returns the requested baseline position in twips. It is zero if an error has occurred or if the specified line does not exist.
Line: | Long |
Return value: | Long |
<< TXTextControl.FrameStyle Property | >> TXTextControl.GetCaretRect Method