C# Class Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document.RemoveTOCFromDocument

Show file Open project: aspose-words/Aspose.Words-for-.NET

Public Methods

Method Description
RemoveTableOfContents ( Document doc, int index ) : void

Removes the specified table of contents field from the document.

Run ( ) : void

Method Details

RemoveTableOfContents() public static method

Removes the specified table of contents field from the document.
public static RemoveTableOfContents ( Document doc, int index ) : void
doc Document The document to remove the field from.
index int The zero-based index of the TOC to remove.
return void

Run() public static method

public static Run ( ) : void
return void