Class SaveOptions
Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)
This class contains options necessary for managing conversion process.
public class SaveOptions
Inheritance
Derived
ImageSaveOptions, ImageSaveOptions, PdfSaveOptions, PdfSaveOptions, PsSaveOptions
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SaveOptions()
Initializes a new instance of the Aspose.Page.SaveOptions class with default values for flags SuppressErrors (true) and Aspose.Page.SaveOptions.Debug (false).
public SaveOptions()
SaveOptions(bool)
Initializes a new instance of the Aspose.Page.SaveOptions class with default value for flag Aspose.Page.SaveOptions.Debug (false).
public SaveOptions(bool supressErrors)
Parameters
supressErrors
bool
Specifies whether errors must be suppressed or not. If true suppressed errors are added to Aspose.Page.SaveOptions.Exceptions list.
SaveOptions(Size)
Initializes a new instance of the Aspose.Page.SaveOptions with with specified size of the page.
public SaveOptions(Size size)
Parameters
size
Size
The page size.
SaveOptions(bool, Size)
Initializes a new instance of the Aspose.Page.SaveOptions class with default value for flag Aspose.Page.SaveOptions.Debug (false) and with specified size of the page.
public SaveOptions(bool supressErrors, Size size)
Parameters
supressErrors
bool
Specifies whether errors must be suppressed or not. If true suppressed errors are added to Aspose.Page.SaveOptions.Exceptions list.
size
Size
The page size.
Properties
AdditionalFontsFolders
Specifies additional folders where converter should find fonts for input document. Default folder are standard fonts folder where OS finds fonts for internal needs.
public string[] AdditionalFontsFolders { get; set; }
Property Value
string[]
Debug
Specifies whether debug information must be printed to standard output stream or not.
public virtual bool Debug { get; set; }
Property Value
Exceptions
Returns a list of suppressed conversion errors If SuppressErrors is true.
public virtual IList<exception> Exceptions { get; }
Property Value
JpegQualityLevel
The Quality category specifies the level of compression for an image. Available values are 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. 0 value results in lowest quality image, while 100 results in highest.
public int JpegQualityLevel { get; set; }
Property Value
Size
Gets/sets the size of the image.
public Size Size { get; set; }
Property Value
SupressErrors
Specifies whether errors must be suppressed or not. If true suppressed errors are added to Aspose.Page.SaveOptions.Exceptions list. If false the first error will terminate the program.
public virtual bool SupressErrors { get; set; }