This project has moved. For the latest updates, please go here.

Retrieving Table of content items

Jun 12, 2012 at 11:46 AM

Hello,

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!

 

Thanks

Sameer