Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

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