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

NameTypeAccessDescription
SaveFormatSaveFormatRead/WriteSpecifies the format in which the document will be saved if this save options object is used.
ExportGeneratorNameboolRead/WriteWhen true, causes the name and version of Aspose.Words to be embedded into produced files.
TempFolderstringRead/WriteSpecifies the folder for temporary files used when saving to a DOC or DOCX file.
UpdateOleControlImagesboolRead/WriteGets or sets a value determining whether OLE controls presentation image will be updated.
PrettyFormatboolRead/WriteWhen true, pretty formats output where applicable.
UseAntiAliasingboolRead/WriteGets or sets a value determining whether or not to use anti-aliasing for rendering.
UseHighQualityRenderingboolRead/WriteGets or sets a value determining whether or not to use high quality (i.e.
DmlRenderingModeDmlRenderingModeRead/WriteGets or sets a value determining how DrawingML shapes are rendered.
DmlEffectsRenderingModeDmlEffectsRenderingModeRead/WriteGets or sets a value determining how DrawingML effects are rendered.
ImlRenderingModeImlRenderingModeRead/WriteGets or sets a value determining how ink (InkML) objects are rendered.
DefaultTemplatestringRead/WriteGets or sets path to default template (including filename).
UpdateFieldsboolRead/WriteGets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format.
UpdateLastSavedTimePropertyboolRead/WriteGets or sets a value determining whether the LastSavedTime property is updated before saving.
UpdateLastPrintedPropertyboolRead/WriteGets or sets a value determining whether the LastPrinted property is updated before saving.
UpdateCreatedTimePropertyboolRead/WriteGets or sets a value determining whether the CreatedTime property is updated before saving.
MemoryOptimizationboolRead/WriteGets or sets value determining if memory optimization should be performed before saving the document.
UpdateAmbiguousTextFontboolRead/WriteDetermines whether the font attributes will be changed according to the character code being used.
Dml3DEffectsRenderingModeDml3DEffectsRenderingModeRead/WriteGets or sets a value determining how 3D effects are rendered.
ProgressCallbackIDocumentSavingCallbackRead/WriteCalled during saving a document and accepts data about saving progress.
AllowEmbeddingPostScriptFontsboolRead/WriteGets 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.
CustomTimeZoneInfoTimeZoneInfoRead/WriteGets or sets custom local time zone used for date/time fields.

Methods

SignatureDescription
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.

See Also