Returns the pixel height dimension of the given line number (ln) in the given window. If the line number is not visible in the window, then -1 is returned. See: YposFromLine (hwnd, ln).
Inputs:
Parameter |
Description |
hwnd |
The window. |
ln |
The line number that contains the text to be measured. If ln is out of range in the file, or not visible inthe window, then –1 is returned. |