TxtListIndentation Class |
Namespace: Aspose.Words.Saving
The TxtListIndentation type exposes the following members.
Name | Description | |
---|---|---|
![]() | TxtListIndentation | Initializes a new instance of the TxtListIndentation class |
Name | Description | |
---|---|---|
![]() ![]() | Character |
Gets or sets which character to use for indenting list levels.
The default value is '\0', that means there is no indentation.
|
![]() ![]() | Count |
Gets or sets how many Character to use as indentation per one list level.
The default value is 0, that means no indentation.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Document doc = new Document(MyDir + "List indentation.docx"); TxtSaveOptions txtSaveOptions = new TxtSaveOptions(); txtSaveOptions.ListIndentation.Count = 3; txtSaveOptions.ListIndentation.Character = ' '; txtSaveOptions.PreserveTableLayout = true; doc.Save(ArtifactsDir + "TxtSaveOptions.TxtListIndentation.txt", txtSaveOptions);