TxtListIndentation Class
Wordize.Saving.TxtListIndentation class. Specifies how list levels are indented when document is exporting to Text format.
TxtListIndentation class
Specifies how list levels are indented when document is exporting to Text format.
public class TxtListIndentation
Properties
Name | Description |
---|---|
Character { get; set; } | Gets or sets which character to use for indenting list levels. The default value is ‘\0’, that means there is no indentation. |
Count { get; set; } | Gets or sets how many Character to use as indentation per one list level. The default value is 0, that means no indentation. |
Examples
Shows how to configure exporting list items to TXT format.
TxtSaveOptions txtSaveOptions = new TxtSaveOptions();
txtSaveOptions.ListIndentation.Character = ' ';
txtSaveOptions.ListIndentation.Count = 4;
txtSaveOptions.SimplifyListLabels = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "TxtSaveOptions.ListIndentation.txt", txtSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize