TxtSaveOptions
Overview
TxtSaveOptions is a class in Aspose.Words FOSS for .NET.
Inherits from: TxtSaveOptionsBase.
Can be used to specify additional options when saving a document into the Text format.
This class provides 1 method for working with TxtSaveOptions objects in .NET programs.
Available methods include: CreateSaveOptions.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: AddBidiMarks, AllowEmbeddingPostScriptFonts, CustomTimeZoneInfo, DefaultTemplate, Dml3DEffectsRenderingMode, DmlEffectsRenderingMode, and 25 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SaveFormat | SaveFormat | Read/Write | Specifies the format in which the document will be saved if this save options object is used. |
SimplifyListLabels | bool | Read/Write | Specifies whether the program should simplify list labels in case of complex label formatting not being adequately represented by plain text. |
AddBidiMarks | bool | Read/Write | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. |
ListIndentation | TxtListIndentation | Read | Gets a TxtListIndentation object that specifies how many and which character to use for indentation of list levels. |
PreserveTableLayout | bool | Read/Write | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. |
MaxCharactersPerLine | int | Read/Write | Gets or sets an integer value that specifies the maximum number of characters per one line. |
OfficeMathExportMode | TxtOfficeMathExportMode | Read/Write | Specifies how OfficeMath will be written to the output file. |
Encoding | Encoding | Read/Write | Specifies the encoding to use when exporting in text formats. |
ParagraphBreak | string | Read/Write | Specifies the string to use as a paragraph break when exporting in text formats. |
ForcePageBreaks | bool | Read/Write | Allows to specify whether the page breaks should be preserved during export. |
ExportHeadersFootersMode | TxtExportHeadersFootersMode | Read/Write | Specifies the way headers and footers are exported to the text formats. |
ExportGeneratorName | bool | Read/Write | When true, causes the name and version of Aspose.Words to be embedded into produced files. |
TempFolder | string | Read/Write | Specifies the folder for temporary files used when saving to a DOC or DOCX file. |
UpdateOleControlImages | bool | Read/Write | Gets or sets a value determining whether OLE controls presentation image will be updated. |
PrettyFormat | bool | Read/Write | When true, pretty formats output where applicable. |
UseAntiAliasing | bool | Read/Write | Gets or sets a value determining whether or not to use anti-aliasing for rendering. |
UseHighQualityRendering | bool | Read/Write | Gets or sets a value determining whether or not to use high quality (i.e. |
DmlRenderingMode | DmlRenderingMode | Read/Write | Gets or sets a value determining how DrawingML shapes are rendered. |
DmlEffectsRenderingMode | DmlEffectsRenderingMode | Read/Write | Gets or sets a value determining how DrawingML effects are rendered. |
ImlRenderingMode | ImlRenderingMode | Read/Write | Gets or sets a value determining how ink (InkML) objects are rendered. |
DefaultTemplate | string | Read/Write | Gets or sets path to default template (including filename). |
UpdateFields | bool | Read/Write | Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. |
UpdateLastSavedTimeProperty | bool | Read/Write | Gets or sets a value determining whether the LastSavedTime property is updated before saving. |
UpdateLastPrintedProperty | bool | Read/Write | Gets or sets a value determining whether the LastPrinted property is updated before saving. |
UpdateCreatedTimeProperty | bool | Read/Write | Gets or sets a value determining whether the CreatedTime property is updated before saving. |
MemoryOptimization | bool | Read/Write | Gets or sets value determining if memory optimization should be performed before saving the document. |
UpdateAmbiguousTextFont | bool | Read/Write | Determines whether the font attributes will be changed according to the character code being used. |
Dml3DEffectsRenderingMode | Dml3DEffectsRenderingMode | Read/Write | Gets or sets a value determining how 3D effects are rendered. |
ProgressCallback | IDocumentSavingCallback | Read/Write | Called during saving a document and accepts data about saving progress. |
AllowEmbeddingPostScriptFonts | bool | Read/Write | Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. |
CustomTimeZoneInfo | TimeZoneInfo | Read/Write | Gets or sets custom local time zone used for date/time fields. |
Methods
| Signature | Description |
|---|---|
CreateSaveOptions(saveFormat: SaveFormat) | Creates a save options object of a correct class. |