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

TerSetTcField

Set the 'tc' field to the selected text.

bool TerSetTcField(level, repaint)
int level;The 'tc' field level. The level value must be between 1 and 9 inclusive.
BOOL repaint;TRUE to repaint the screen after this operation

Comment: This function can be used to set the 'tc' field to the text to be included in the table of contents. Please refer to the TerInsetToc2 function for more information.

Return Value: This function returns a TRUE value if successful.