Dear Sir or Madam,
We currently insert a TOC in our documents using the fields code:
string fieldBody = string.Format("TC \"{0}\"\\f x", field);
Run tocFieldRun = new Run(mOutputDocument) {Text = string.Empty};
if (nodePara.ChildNodes != null && nodePara.ChildNodes.Count > 0)
{
AW.Node firstRun = nodePara.FirstChild;
nodePara.InsertBefore(tocFieldRun, firstRun);
}
else
{
nodePara.AppendChild(tocFieldRun);
}
How can we:
- Change tab leads in TOC (for dots, for example)
- Change the spacing between the lines in TOC?
Thank you in advance,
AlexAlex test-Annual Report-Alex test-Headers-Suffix (2).docx (209.6 KB)