TablesOfContents即为目录对象
int count = docReport.TablesOfContents.Count;
for (int i = 0; i < count;i++ )
{
docReport.TablesOfContents[i+1].Update();
}
TablesOfContents即为目录对象
int count = docReport.TablesOfContents.Count;
for (int i = 0; i < count;i++ )
{
docReport.TablesOfContents[i+1].Update();
}