TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetTcField

Set the 'tc' field to the selected text.

boolean TerSetTcField(level, repaint)
int level;The 'tc' field level. The level value must be between 1 and 9 inclusive.
boolean 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.