TxtSaveOptions.ListIndentation

TxtSaveOptions ListIndentation property. Gets a TxtListIndentation object that specifies how many and which character to use for indentation of list levels. By default it is zero count of character 0 that means no indentation.

TxtSaveOptions.ListIndentation property

Gets a TxtListIndentation object that specifies how many and which character to use for indentation of list levels. By default it is zero count of character ‘\0’, that means no indentation.

public TxtListIndentation ListIndentation { get; }

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