I have to insert the Table of Contents in second page of Word Document .docx, as the first page have the image and Title,
the following code keeps the Table of Contents over the image in first page.
DocumentBuilder builder = new DocumentBuilder(doc);
// Insert a table of contents at the beginning of the document.
builder.InsertTableOfContents("\\o \"1-3\" \\h \\z \\u");
Also I just have to show the "Heading 1" only and not heading2, heading3... in the table of contents, should i use ("\\o \"1-1\" \\h \\z \\u"); ?
Thanks in advance