TxtSaveOptionsSimplifyListLabels Property

Specifies whether the program should simplify list labels in case of complex label formatting not being adequately represented by plain text.

If set to true, numbered list labels are written in simple numeric format and itemized list labels as simple ASCII characters. The default value is false.

Namespace:  Aspose.Words.Saving
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool SimplifyListLabels { get; set; }

Property Value

Type: Boolean
Examples
Shows how to change the appearance of tables and lists during conversion to a txt document output.
// Open a document with a table
Document doc = new Document(MyDir + "Rendering.docx");

// Due to the nature of text documents, table grids and text wrapping will be lost during conversion
// from a file type that supports tables
// We can preserve some of the table layout in the appearance of our content with the PreserveTableLayout flag
// The SimplifyListLabels flag will convert some list symbols
// into ASCII characters such as *, o, +, > etc, depending on list level
TxtSaveOptions txtSaveOptions = new TxtSaveOptions { SimplifyListLabels = true, PreserveTableLayout = true};

doc.Save(ArtifactsDir + "TxtSaveOptions.Appearance.txt", txtSaveOptions);
See Also