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
| 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. |
Password | string | Read/Write | Gets/sets a password to encrypt document using ECMA376 Standard encryption algorithm. |
Compliance | OoxmlCompliance | Read/Write | Specifies the OOXML version for the output document. |
KeepLegacyControlChars | bool | Read/Write | Keeps original representation of legacy control characters. |
CompressionLevel | CompressionLevel | Read/Write | Specifies the compression level used to save document. |
Zip64Mode | Zip64Mode | Read/Write | Specifies whether or not to use ZIP64 format extensions for the output document. |
DigitalSignatureDetails | DigitalSignatureDetails | Read/Write | Gets or sets DigitalSignatureDetails object used to sign a document. |
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 |
|---|---|
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. |