TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetParaId

Set the paragraph id for the paragraph.

bool 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.
bool ParaId;The new paragraph id for the paragraph.

Return Value: This function returns true when successful.