OoxmlSaveOptions

OoxmlSaveOptions

Overview

OoxmlSaveOptions is a class in Aspose.Words FOSS for .NET. Inherits from: SaveOptions.

Can be used to specify additional options when saving a document into the Docx, Docm, Dotx, Dotm or FlatOpc format.

This class provides 3 methods for working with OoxmlSaveOptions objects in .NET programs. Available methods include: CreateSaveOptions, OoxmlSaveOptions. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: AllowEmbeddingPostScriptFonts, Compliance, CompressionLevel, CustomTimeZoneInfo, DefaultTemplate, DigitalSignatureDetails, and 21 more.

Properties

NameTypeAccessDescription
SaveFormatSaveFormatRead/WriteSpecifies the format in which the document will be saved if this save options object is used.
PasswordstringRead/WriteGets/sets a password to encrypt document using ECMA376 Standard encryption algorithm.
ComplianceOoxmlComplianceRead/WriteSpecifies the OOXML version for the output document.
KeepLegacyControlCharsboolRead/WriteKeeps original representation of legacy control characters.
CompressionLevelCompressionLevelRead/WriteSpecifies the compression level used to save document.
Zip64ModeZip64ModeRead/WriteSpecifies whether or not to use ZIP64 format extensions for the output document.
DigitalSignatureDetailsDigitalSignatureDetailsRead/WriteGets or sets DigitalSignatureDetails object used to sign a document.
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
OoxmlSaveOptions()Initializes a new instance of this class that can be used to save a document in the Docx format.
OoxmlSaveOptions(saveFormat: SaveFormat)Initializes a new instance of this class that can be used to save a document in the Docx, Docm, Dotx, Dotm or FlatOpc format.
CreateSaveOptions(saveFormat: SaveFormat)Creates a save options object of a correct class.

See Also