Footnote constructor

Footnote(doc, footnoteType)

Initializes an instance of the Footnote class.

Footnote(doc: Aspose.Words.DocumentBase, footnoteType: Aspose.Words.Notes.FootnoteType)
ParameterTypeDescription
docDocumentBaseThe owner document.
footnoteTypeFootnoteTypeA Footnote.footnoteType value that specifies whether this is a footnote or endnote.

Remarks

When Footnote is created, it belongs to the specified document, but is not yet part of the document and Node.parentNode is null.

To append Footnote to the document useCompositeNode.insertAfter() or CompositeNode.insertBefore() on the paragraph where you want the footnote inserted.

See Also