Remove number from TOC

Hi,

Is it possible to remove the number from TOC.


My code .InsertTableOfContents("\o “1-3” \h \z \u"), i tried by removing \z from this but its not working.

Please Provide solution for this ASAP.

Thanks,
Saravana kumar.S

Hi Saravana,

Thanks for your inquiry. Please use \N switch to hide page numbers from TOC. Please check ‘Appearance Related Switches’ section of following documentation link.
http://www.aspose.com/docs/display/wordsnet/How-to+Insert+and+Work+with+the+Table+of+Contents+Field

Hope this helps you. Please let us know if you have any more queries.

Hi Tahir,

Thanks for Your Response,

Problem got solved.

Used Like This builder.InsertTableOfContents("\o “1-3” \n");

Thanks,
Saravana kumar.S

Hi Saravana,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.