TerGetLineInfo
Get the current line attributes.
BOOL TerGetLineInfo(hWnd, LineNo, ParaId, CellId, ParaFID, x, y, height, lflags, InfoFlags);
HWND hWnd; | The handle of the window to be accessed |
long LineNo; | Line number to retrieve the information. Set to -1 to use the current line number. |
LPINT ParaId; | Pointer to the paragraph id |
LPINT CellId; | Pointer to the table cell id |
LPINT ParaFID; | Pointer to the paragraph frame id |
LPINT x; | pointer to the x position (in printer units) of the line. |
LPINT y; | Pointer to the y position (in printer units) of the line relative to the top of the page. |
LPINT height; | Pointer to the height (in printer units) of the line. |
LPDWORD lflags; | Line flags as defined by the LFLAG_ constants in the TER.H file |
UINT far *InfoFlags; | Miscellaneous flags as defined by the INFO_ constants in the TER.H file. |
Description: The x, y, and the height values are available in the Page Mode only.
Return Value: This function returns a TRUE value when successful. Otherwise it returns FALSE.