TE Edit Control Java / HTML-JavaScript Help
Product page

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_NUMCurrent line number.
LP_LINE_LENReturn the line length.
LP_CELL_IDCell id associated with the line. A non-zero value indicates that the line is included in a table.
LP_PARA_FRAME_IDParagraph frame id associated with the line. A non-zero value indicates that the line is included in a positionable object.
LP_LIST_IDList id associated with the line. A non-zero value indicates that the line is included in a list.
LP_LIST_OR_IDList override id associated with the line. A non-zero value indicates that the line is included in a list.
LP_LIST_LEVELList nesting level.
LP_LIST_FONTFont 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.