This project has moved and is read-only. For the latest updates, please go here.

Retrieving Table of content items

Jun 12, 2012 at 12:46 PM


I am trying to retrieve TOC items without having to go through hoops with String split.

I can get the all the TOC item using

 Dim rawToc As String = aDoc.TablesOfContents(1).Range.Text.ToString

But i am sure there is a better way by which i can get each TOC item individually.

Any pointers would be appreciated!