UpdateActualReferenceMarks
Document.UpdateActualReferenceMarks method
Updates the ActualReferenceMark
property of all footnotes and endnotes in the document.
public void UpdateActualReferenceMarks()
Remarks
Updating fields (UpdateFields
) may be necessary to get the correct result.
Examples
Shows how to get actual footnote reference mark.
Document doc = new Document(MyDir + "Footnotes and endnotes.docx");
Footnote footnote = (Footnote)doc.GetChild(NodeType.Footnote, 1, true);
doc.UpdateFields();
doc.UpdateActualReferenceMarks();
Assert.AreEqual("1", footnote.ActualReferenceMark);
See Also
- class Document
- namespace Aspose.Words
- assembly Aspose.Words