TerInsertFootnote
Insert a footnote.
int TerInsertFootnote( FnMarker, FnText, style, repaint)
int TerInsertFootnote2( FnMarker, FnText, style, IsFootnote, repaint)
string FnMarker; | footnote marker |
string FnText; | footnote text. Set this parameter to null to invoke a dialog box for the user to enter the footnote parameters. |
int style; | footnote marker style. The style can be any combination of BOLD, ULINE, ITALIC, and SUPSCR. Typically, the style is set to SUPSCR. |
bool IsFootnote; | Set to true to insert a footnote. Set to false to insert a endnote. This argument is applicable to the TerInsertFootnote2 function only. The TerInsertFootnote function only inserts a footnote. |
bool repaint; | true to repaint the screen after the operation. |
Description: This function inserts a footnote at the current cursor location. The cursor is positioned after the footnote text upon the completion of this operation.
Return Value: This function returns true when successful.