Class FixedPageSaveOptions
Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.4.0)
Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc).
To learn more, visit the Specify Save Options documentation article.
public abstract class FixedPageSaveOptions : SaveOptions
Inheritance
object ← SaveOptions ← FixedPageSaveOptions
Derived
HtmlFixedSaveOptions , ImageSaveOptions , PclSaveOptions , PdfSaveOptions , PsSaveOptions , SvgSaveOptions , XamlFixedSaveOptions , XpsSaveOptions
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
FixedPageSaveOptions()
protected FixedPageSaveOptions()
Properties
ColorMode
Gets or sets a value determining how colors are rendered.
public ColorMode ColorMode { get; set; }
Property Value
Remarks
The default value is Aspose.Words.Saving.ColorMode.Normal.
JpegQuality
Gets or sets a value determining the quality of the JPEG images inside Html document.
public int JpegQuality { get; set; }
Property Value
Remarks
Has effect only when a document contains JPEG images.
Use this property to get or set the quality of the images inside a document when saving in fixed page format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.
The default value is 95.
MetafileRenderingOptions
Allows to specify metafile rendering options.
public MetafileRenderingOptions MetafileRenderingOptions { get; set; }
Property Value
NumeralFormat
Gets or sets Aspose.Words.Saving.NumeralFormat used for rendering of numerals. European numerals are used by default.
public NumeralFormat NumeralFormat { get; set; }
Property Value
Remarks
If the value of this property is changed and page layout is already built then Aspose.Words.Document.UpdatePageLayout is invoked automatically to update any changes.
OptimizeOutput
Flag indicates whether it is required to optimize output.
If this flag is set redundant nested canvases and empty canvases are removed,
also neighbor glyphs with the same formatting are concatenated.
Note: The accuracy of the content display may be affected if this property is set to true
.
Default is false
.
public virtual bool OptimizeOutput { get; set; }
Property Value
PageSavingCallback
Allows to control how separate pages are saved when a document is exported to fixed page format.
public IPageSavingCallback PageSavingCallback { get; set; }
Property Value
PageSet
Gets or sets the pages to render. Default is all the pages in the document.
public PageSet PageSet { get; set; }
Property Value
Methods
AssertValidIdPrefix(string)
protected static void AssertValidIdPrefix(string prefix)
Parameters
prefix
string
Equals(object)
Determines whether the specified object is equal in value to the current object.
public override bool Equals(object obj)
Parameters
obj
object
Returns
IsValidIdPrefix(string)
protected static bool IsValidIdPrefix(string prefix)
Parameters
prefix
string