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

TerSetParaList

Set list numbering for the paragraph.

bool TerSetParaList( dialog, ParaId, ListOr, level, repaint)
bool dialog:Set to true to show a dialog box to the user to select list-override and level information.
bool ParaId;The paragraph id to modify. Set to -1 to apply list numbering to the current paragraph, currently selected paragraph, or to the stylesheet item currently being edited.
int ListOr;The list-override id to use for the paragraph.
int level;The level number to use for the paragraph. A simple list allows only one list level (level 0). A nested list allows up to 9 levels (0 to 8).
bool repaint:Set to true to repaint the screen after this operation.

Return Value: This function returns true when successful.