Class XpsSaveOptions

Class XpsSaveOptions

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.Xps format.

To learn more, visit the Specify Save Options documentation article.

public class XpsSaveOptions : FixedPageSaveOptions

Inheritance

objectSaveOptionsFixedPageSaveOptionsXpsSaveOptions

Inherited Members

FixedPageSaveOptions.Equals(object), FixedPageSaveOptions.AssertValidIdPrefix(string), FixedPageSaveOptions.IsValidIdPrefix(string), FixedPageSaveOptions.PageSet, FixedPageSaveOptions.PageSavingCallback, FixedPageSaveOptions.NumeralFormat, FixedPageSaveOptions.MetafileRenderingOptions, FixedPageSaveOptions.JpegQuality, FixedPageSaveOptions.ColorMode, FixedPageSaveOptions.OptimizeOutput, 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

XpsSaveOptions()

Initializes a new instance of this class that can be used to save a document in the Aspose.Words.SaveFormat.Xps format.

public XpsSaveOptions()

XpsSaveOptions(SaveFormat)

Initializes a new instance of this class that can be used to save a document in the Aspose.Words.SaveFormat.Xps or Aspose.Words.SaveFormat.OpenXps format.

public XpsSaveOptions(SaveFormat saveFormat)

Parameters

saveFormat SaveFormat

Properties

DigitalSignatureDetails

Gets or sets Aspose.Words.Saving.DigitalSignatureDetails object used to sign a document.

public DigitalSignatureDetails DigitalSignatureDetails { get; set; }

Property Value

DigitalSignatureDetails

OutlineOptions

Allows to specify outline options.

public OutlineOptions OutlineOptions { get; }

Property Value

OutlineOptions

Remarks

Note that Aspose.Words.Saving.OutlineOptions.ExpandedOutlineLevels option will not work when saving to XPS.

SaveFormat

Specifies the format in which the document will be saved if this save options object is used. Can only be Aspose.Words.SaveFormat.Xps.

public override SaveFormat SaveFormat { get; set; }

Property Value

SaveFormat

UseBookFoldPrintingSettings

Gets or sets a boolean value indicating whether the document should be saved using a booklet printing layout, if it is specified via Aspose.Words.PageSetup.MultiplePages.

public bool UseBookFoldPrintingSettings { get; set; }

Property Value

bool

Remarks

<p>

If this option is specified, Aspose.Words.Saving.FixedPageSaveOptions.PageSet is ignored when saving. This behavior matches MS Word. If book fold printing settings are not specified in page setup, this option will have no effect.