TxtListIndentation.Character

TxtListIndentation Character property. Gets or sets which character to use for indenting list levels. The default value is 0 that means there is no indentation.

TxtListIndentation.Character property

Gets or sets which character to use for indenting list levels. The default value is ‘\0’, that means there is no indentation.

public char Character { get; set; }

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