Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Jun 14, 2011 10:29 pm

How do you iterate through all the endnotes and footnotes in an existing document?

dirt939
 
Posts: 1
Joined: Tue Jun 14, 2011 4:54 pm

Wed Jun 15, 2011 2:55 am

Dear dirt939,
Thanks for your inqury.
The footnotes can iterate,however,the endnotes is uniteratable.
The code is here.
Code: Select all
 Document document = new Document();
            document.LoadFromFile("test.doc");
            foreach (XmlNode item in document.FootnoteNodes)
            {

            }
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar

Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am

Return to Spire.Doc

cron