TerGetLineParam
Get a parameter associated with a text line number.
int TerGetLineParam(LineNo, type)
int LineNo; | Line number (0 to TotalLines -1) to retrieve parameters. |
int type; | The parameter to retrieve: |
| LP_LINE_NUM | Current line number. |
| LP_LINE_LEN | Return the line length. |
| LP_CELL_ID | Cell id associated with the line. A non-zero value indicates that the line is included in a table. |
| LP_PARA_FRAME_ID | Paragraph frame id associated with the line. A non-zero value indicates that the line is included in a positionable object. |
| LP_LIST_ID | List id associated with the line. A non-zero value indicates that the line is included in a list. |
| LP_LIST_OR_ID | List override id associated with the line. A non-zero value indicates that the line is included in a list. |
| LP_LIST_LEVEL | List nesting level. |
| LP_LIST_FONT | Font id associated with the bullet text on this line. |
Return Value: The function returns the value for the requested parameter. It returns LP_ERROR to indicate an error condition.