remove_tab_stop method
remove_tab_stop()
Removes tab stop from the list level.
def remove_tab_stop(self):
...
Examples
Shows how to clear the list level tab stop.
doc = aw.Document()
builder = aw.DocumentBuilder(doc=doc)
# Create a list with default formatting.
builder.list_format.apply_number_default()
builder.writeln("Numbered list item 1")
builder.writeln("Numbered list item 2")
# Get the list level and remove its tab stop.
list_level = builder.list_format.list_level
list_level.remove_tab_stop()
doc.save(file_name=ARTIFACTS_DIR + "Paragraph.RemoveTabStopFromListLevel.docx")
See Also
- module aspose.words.lists
- class ListLevel