SaveOptions
Overview
SaveOptions is a class in Aspose.Words FOSS for .NET.
This is an abstract base class for classes that allow the user to specify additional options when saving a document into a particular format.
This class provides 2 methods for working with SaveOptions 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: AllowEmbeddingPostScriptFonts, CustomTimeZoneInfo, DefaultTemplate, Dml3DEffectsRenderingMode, DmlEffectsRenderingMode, DmlRenderingMode, and 15 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. |
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. |
CreateSaveOptions(fileName: string) | Creates a save options object of a class suitable for the file extension specified in the given file name. |