TabStopCollectionClear Method

Deletes all tab stop positions.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void Clear()
Examples
Shows how to remove all tab stops from a document.
Document doc = new Document(MyDir + "Table of contents.docx");

// Clear all tab stops from every paragraph
foreach (Paragraph para in doc.GetChildNodes(NodeType.Paragraph, true).OfType<Paragraph>())
    para.ParagraphFormat.TabStops.Clear();

doc.Save(ArtifactsDir + "TabStopCollection.ClearAll.docx");
See Also