Class TxtSaveOptions

Class TxtSaveOptions

Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.3.0)

Can be used to specify additional options when saving a document into the Aspose.Words.SaveFormat.Text format.

To learn more, visit the Specify Save Options documentation article.

public class TxtSaveOptions : TxtSaveOptionsBase

Inheritance

objectSaveOptionsTxtSaveOptionsBaseTxtSaveOptions

Inherited Members

TxtSaveOptionsBase.Encoding, TxtSaveOptionsBase.ParagraphBreak, TxtSaveOptionsBase.ForcePageBreaks, TxtSaveOptionsBase.ExportHeadersFootersMode, SaveOptions.CreateSaveOptions(SaveFormat), SaveOptions.CreateSaveOptions(string), SaveOptions.SaveFormat, SaveOptions.ExportGeneratorName, SaveOptions.TempFolder, SaveOptions.PrettyFormat, SaveOptions.UseAntiAliasing, SaveOptions.UseHighQualityRendering, SaveOptions.DmlRenderingMode, SaveOptions.DmlEffectsRenderingMode, SaveOptions.ImlRenderingMode, SaveOptions.DefaultTemplate, SaveOptions.UpdateFields, SaveOptions.UpdateLastSavedTimeProperty, SaveOptions.UpdateLastPrintedProperty, SaveOptions.UpdateCreatedTimeProperty, SaveOptions.MemoryOptimization, SaveOptions.UpdateAmbiguousTextFont, SaveOptions.Dml3DEffectsRenderingMode, SaveOptions.ProgressCallback, SaveOptions.AllowEmbeddingPostScriptFonts, SaveOptions.CustomTimeZoneInfo, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

TxtSaveOptions()

public TxtSaveOptions()

Properties

AddBidiMarks

Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format.

The default value is false.

public bool AddBidiMarks { get; set; }

Property Value

bool

ListIndentation

Gets a Aspose.Words.Saving.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; }

Property Value

TxtListIndentation

MaxCharactersPerLine

Gets or sets an integer value that specifies the maximum number of characters per one line. The default value is 0, that means no limit.

public int MaxCharactersPerLine { get; set; }

Property Value

int

PreserveTableLayout

Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false.

public bool PreserveTableLayout { get; set; }

Property Value

bool

SaveFormat

Specifies the format in which the document will be saved if this save options object is used. Can only be Aspose.Words.SaveFormat.Text.

public override SaveFormat SaveFormat { get; set; }

Property Value

SaveFormat

SimplifyListLabels

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.

public bool SimplifyListLabels { get; set; }

Property Value

bool