TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetParaId

Set the paragraph id for the paragraph.

boolean TerSetParaId( FirstLine, LastLine, ParaId)
int FirstLine;The first line of the paragraph. Set this parameter to -1 to select the current paragraph or all paragraphs in the range of selected text (if any text selected).
int LastLine;The last line for the paragraph. This argument is not used when 'FirstLine' is set to -1.
boolean ParaId;The new paragraph id for the paragraph.

Return Value: This function returns true when successful.