Add Footnote to Document

This REST API adds a Footnote to a document.


The following URIs are used to address REST resources:


, 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.

The important properties are described below:

Property Name Type Description
FootnoteType FootnoteType Returns a value that specifies whether this is a footnote or endnote.
ReferenceMark string Specifies custom reference mark to be used for this footnote. The 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.

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL. Feel free to download and explore sample input Footnote.doc file designed to act as a demonstration and let you figure out the details quickly.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Words Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: