DS Server

FootnoteEventArgs Object

Object|Introduced in 32.0

Description

The event argument for footnote related events.

Syntax

{
   name: <string>,
   number: <Number>,
   referenceMarkLength: <Number>,
   referenceMarkStart: <Number>,
   highlightColor: <string>,
   highlightMode: <string>,
   id: <Number>
}

Examples

The following example demonstrates FootnoteEventArgs in a practical document-editing workflow. The event argument for footnote related events.

function handleFootnote(args) {
    console.log("name:", args.name);
    console.log("number:", args.number);
    console.log("reference mark length:", args.referenceMarkLength);
    console.log("reference mark start:", args.referenceMarkStart);
}

Members

Properties

PropertyDescription
highlightColorThe footnote's highlight color.
highlightModeThe footnote's highlight mode (see TXTextControl.HighlightMode).
idThe footnote's identifier.
nameThe footnote's name.
numberThe footnote's 1-based number in the text flow.
referenceMarkLengthThe footnote's reference mark length in characters.
referenceMarkStartThe footnote's 1-based reference mark start position.