This method adds a new footnote to the document at the current text input position. A footnote consists of a reference mark in the document and the footnote itself appearing at the bottom of the page.
Introduced: 32.0.
Syntax
TXTextControl.FootnoteInsert Text, Edit
Parameters
| Parameter | Description |
|---|
| Text | Specifies the footnote's text. It can be an empty string. |
| Edit | If this parameter is true, the text input position is set in the footnote section at the bottom of the page, so that the footnote's text can be edited. |
Return Value
| Parameter | Description |
|---|
| 0 | An error has occurred or the footnote could not be inserted. Footnotes cannot be inserted in headers, footers and textframes. |
| otherwise | The footnote's internal unique identifier. |
Data Types
| Name | Data type |
|---|
| Text | String |
| Edit | Boolean |
| Return value | Long |