TE Edit Control Win32 / Win64 Help
Product page

TerSetParaId

Set the paragraph id for the paragraph.

BOOL TerSetParaId(hWnd, FirstLine, LastLine, ParaId)
HWND hWnd;The handle of the window to be accessed
long 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).
long 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.

See Also;
TerCreateParaId