TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetSectLineNbr

Set line numbering for the section.

boolean TerSetSectLineNbr(sect, set, repaint)
boolean TerSetSectLineNbr2(sect, set, step, repaint)
int sect;Section id to apply changes. You can also set this parameter to SECT_CUR to edit the current section, or set it to SECT_ALL to apply changes to all sections in the document.
boolean set;Set to TRUE to enable line numbering. Set to false to disable line numbering.
int step;Steps in which to draw the numbers. A value of 0 or 1 produces continuous line numbering.
boolean repaint;TRUE to refresh the window after this operation

Comment: The line numbers are displayed on the left side of the page. The page-layout (ID_SHOW_PAGE_LAYOUT) display must be turned on to see line numbering.

Return Value: This function returns TRUE if successful.