# Footnote Object

> A Footnote object represents a footnote in a TextControl document. A footnote can be inserted trough the FootnoteCollection.add method. It consists of a reference mark in the document and the footnote itself appearing at the bottom of the page. The footnote has a footnote mark with the same number as the reference mark. All Footnote objects are contained in the FootnoteCollection, which can be obtained with the TXTextControl.footnotes property.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 32.0
- **Path:** DS Server > Reference > JavaScript API > Footnote Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnote/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnote/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnote/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/#members)

---

## In This Section

- [Javascript: Footnote.edit Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/edit-method/llms.txt): Sets the current text input position in the footnote section at the end of the current footnote text, so that the text can be edited or formatted.
- [Javascript: Footnote.getHighlightColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/gethighlightcolor-method/llms.txt): Gets the highlight color for the reference mark and the footnote mark.
- [Javascript: Footnote.getHighlightMode Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/gethighlightmode-method/llms.txt): Gets a value indicating whether the reference mark and the footnote mark is highlighted.
- [Javascript: Footnote.getID Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/getid-method/llms.txt): Gets a user-defined identifier. It must be a one-based value. A value of zero indicates that the footnote has no identifier.
- [Javascript: Footnote.getName Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/getname-method/llms.txt): Gets the footnote's name. An empty string indicates that the footnote has no name.
- [Javascript: Footnote.getNumber Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/getnumber-method/llms.txt): Gets the footnote's number in the text. The first footnote in the document has the number 1. The number is defined through the textflow.
- [Javascript: Footnote.getReferenceMarkLength Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/getreferencemarklength-method/llms.txt): Gets the number of characters the reference mark consists of.
- [Javascript: Footnote.getReferenceMarkStart Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/getreferencemarkstart-method/llms.txt): Gets the index (one-based) of the first character of the footnote's reference mark.
- [Javascript: Footnote.scrollTo Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/scrollto-method/llms.txt): Scrolls the beginning of the footnote mark into the visible part of the document using a default position depending on the previous position.
- [Javascript: Footnote.scrollToPosition Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/scrolltoposition-method/llms.txt): Scrolls the beginning of the footnote mark into the visible part of the document using the specified position.
- [Javascript: Footnote.setHighlightColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/sethighlightcolor-method/llms.txt): Sets the highlight color for the reference mark and the footnote mark.
- [Javascript: Footnote.setHighlightMode Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/sethighlightmode-method/llms.txt): Sets a value indicating whether the reference mark and the footnote mark is highlighted.
- [Javascript: Footnote.setID Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/setid-method/llms.txt): Sets a user-defined identifier. It must be a one-based value. A value of zero indicates that the footnote has no identifier.
- [Javascript: Footnote.setName Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/setname-method/llms.txt): Sets a name for the footnote. An empty string indicates that the footnote has no name.

---

## Nearby

- **Previous:** [Javascript: FileDroppedEventArgs.fileType Property](https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filetype-property/llms.txt)
- **Next:** [Javascript: Footnote.edit Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnote/edit-method/llms.txt)
