Update Footnote Properties

This REST API updates Footnote properties.

Usage examples with cURL and Postman

The following URIs are used to address REST resources:

~/{file-name}/footnotes/{index}
~/{file-name}/{nodePath}/footnotes/{index}

, where:

  • {file-name} is a filename of a document.
  • {nodePath} is a path to a node in a document. If this parameter is used, elements contained within a specified node will be processed:
  • sections/{sectionIndex} - references a section.
  • paragraphs/{paragraphIndex} - references a paragraph.
  • sections/{sectionIndex}/paragraphs/{paragraphIndex} - references a paragraph within a section.
  • {index} is an index of a footnote.

Important properties are the following:

Property Name Type Description
FootnoteType FootnoteType Returns a value that specifies whether this is a footnote or endnote.
ReferenceMark string Gets/sets custom reference mark to be used for this footnote. Default value is System.String.Empty, meaning auto-numbered footnotes are used.
Text string This is a convenience property that allows to easily get or set the text of the footnote.
Position DocumentPosition Reference to marked run of text.
Content   Content of footnote.

You can carry out REST API interactions using cURL and Postman. Please read these instructions to receive a personal JWT_TOKEN for authorization.

Download sample Footnote.doc file for testing purposes.

Aspose.Words Cloud SDK Family

Using SDK is the best way to speed up the development. Please go to the GitHub repository to explore a wide family of our Cloud SDKs. These powerful libraries take care of all low-level programming details and let you focus on your primary tasks.

Usage examples in Python, Java, C#, etc.

The following code samples show how to interact with the REST API using almost any mainstream programming language.

You can find a lot of other examples in Python, Java, C#, JavaScript, PHP, C++, Golang, Ruby, Swift, Dart on GitHub. All codes are thoroughly tested and ready for production use.