Aspose::Words::Document::UpdateActualReferenceMarks метод
Document::UpdateActualReferenceMarks method
Обновляет свойство ActualReferenceMark всех сносок и концевых сносок в документе.
void Aspose::Words::Document::UpdateActualReferenceMarks()
Примеры
Показывает, как получить фактическую метку ссылки сноски.
auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Footnotes and endnotes.docx");
auto footnote = System::ExplicitCast<Aspose::Words::Notes::Footnote>(doc->GetChild(Aspose::Words::NodeType::Footnote, 1, true));
doc->UpdateFields();
doc->UpdateActualReferenceMarks();
ASSERT_EQ(u"1", footnote->get_ActualReferenceMark());
См. также
- Class Document
- Namespace Aspose::Words
- Library Aspose.Words for C++