updateActualReferenceMarks method

updateActualReferenceMarks()

Updates the Footnote.actualReferenceMark property of all footnotes and endnotes in the document.

updateActualReferenceMarks()

Remarks

Updating fields (Document.updateFields()) may be necessary to get the correct result.

Examples

Shows how to get actual footnote reference mark.

let doc = new aw.Document(base.myDir + "Footnotes and endnotes.docx");

let footnote = doc.getFootnote(1, true);
doc.updateFields();
doc.updateActualReferenceMarks();

expect(footnote.actualReferenceMark).toEqual("1");

See Also