Class OoxmlSaveOptions
Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.3.0)
Can be used to specify additional options when saving a document into the Aspose.Words.SaveFormat.Docx, Aspose.Words.SaveFormat.Docm, Aspose.Words.SaveFormat.Dotx, Aspose.Words.SaveFormat.Dotm or Aspose.Words.SaveFormat.FlatOpc format.
To learn more, visit the Specify Save Options documentation article.
public class OoxmlSaveOptions : SaveOptions
Inheritance
object ← SaveOptions ← OoxmlSaveOptions
Inherited Members
SaveOptions.CreateSaveOptions(SaveFormat), SaveOptions.CreateSaveOptions(string), SaveOptions.SaveFormat, SaveOptions.ExportGeneratorName, SaveOptions.TempFolder, SaveOptions.PrettyFormat, SaveOptions.UseAntiAliasing, SaveOptions.UseHighQualityRendering, SaveOptions.DmlRenderingMode, SaveOptions.DmlEffectsRenderingMode, SaveOptions.ImlRenderingMode, SaveOptions.DefaultTemplate, SaveOptions.UpdateFields, SaveOptions.UpdateLastSavedTimeProperty, SaveOptions.UpdateLastPrintedProperty, SaveOptions.UpdateCreatedTimeProperty, SaveOptions.MemoryOptimization, SaveOptions.UpdateAmbiguousTextFont, SaveOptions.Dml3DEffectsRenderingMode, SaveOptions.ProgressCallback, SaveOptions.AllowEmbeddingPostScriptFonts, SaveOptions.CustomTimeZoneInfo, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
OoxmlSaveOptions()
Initializes a new instance of this class that can be used to save a document in the Aspose.Words.SaveFormat.Docx format.
public OoxmlSaveOptions()
OoxmlSaveOptions(SaveFormat)
Initializes a new instance of this class that can be used to save a document in the Aspose.Words.SaveFormat.Docx, Aspose.Words.SaveFormat.Docm, Aspose.Words.SaveFormat.Dotx, Aspose.Words.SaveFormat.Dotm or Aspose.Words.SaveFormat.FlatOpc format.
public OoxmlSaveOptions(SaveFormat saveFormat)
Parameters
saveFormat
SaveFormat
Can be Aspose.Words.SaveFormat.Docx, Aspose.Words.SaveFormat.Docm, Aspose.Words.SaveFormat.Dotx, Aspose.Words.SaveFormat.Dotm or Aspose.Words.SaveFormat.FlatOpc.
Properties
Compliance
Specifies the OOXML version for the output document. The default value is Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006.
public OoxmlCompliance Compliance { get; set; }
Property Value
CompressionLevel
Specifies the compression level used to save document. The default value is Aspose.Words.Saving.CompressionLevel.Normal.
public CompressionLevel CompressionLevel { get; set; }
Property Value
DigitalSignatureDetails
Gets or sets Aspose.Words.Saving.DigitalSignatureDetails object used to sign a document.
public DigitalSignatureDetails DigitalSignatureDetails { get; set; }
Property Value
KeepLegacyControlChars
Keeps original representation of legacy control characters.
public bool KeepLegacyControlChars { get; set; }
Property Value
Password
Gets/sets a password to encrypt document using ECMA376 Standard encryption algorithm.
public string Password { get; set; }
Property Value
Remarks
In order to save document without encryption this property should be null
or empty string.
SaveFormat
Specifies the format in which the document will be saved if this save options object is used. Can be Aspose.Words.SaveFormat.Docx, Aspose.Words.SaveFormat.Docm, Aspose.Words.SaveFormat.Dotx, Aspose.Words.SaveFormat.Dotm or Aspose.Words.SaveFormat.FlatOpc.
public override SaveFormat SaveFormat { get; set; }
Property Value
Zip64Mode
Specifies whether or not to use ZIP64 format extensions for the output document. The default value is Aspose.Words.Saving.Zip64Mode.Never.
public Zip64Mode Zip64Mode { get; set; }