RemoveTabStop

ListLevel.RemoveTabStop method

Removes tab stop from the list level.

public void RemoveTabStop()

Examples

Shows how to clear the list level tab stop.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// Create a list with default formatting
builder.ListFormat.ApplyNumberDefault();
builder.Writeln("Numbered list item 1");
builder.Writeln("Numbered list item 2");

// Get the list level and remove its tab stop
ListLevel listLevel = builder.ListFormat.ListLevel;
listLevel.RemoveTabStop();

doc.Save(ArtifactsDir + "Paragraph.RemoveTabStopFromListLevel.docx");

See Also