Class PsSaveOptions

PsSaveOptions class

This class contains options necessary for managing process of converting document to PostScript (PS) or Encapsulated PostScript (EPS) file.

public class PsSaveOptions : SaveOptions

Constructors

NameDescription
PsSaveOptions()Initializes a new instance of the PsSaveOptions class with default values for flags !:SuppressErrors (true) and !:Debug (false).
PsSaveOptions(bool)Initializes a new instance of the PsSaveOptions class with default values for flag !:Debug (false).

Properties

NameDescription
AdditionalFontsFolders { get; set; }Specifies additional folders where converter should find fonts for input document. Default folder are standard fonts folder where OS finds fonts for internal needs.
BackgroundColor { get; set; }The background color.
virtual Debug { get; set; }Specifies whether debug information must be printed to standard output stream or not.
EmbedFonts { get; set; }Indicates whether to embed used fonts in PS document.
EmbedFontsAs { get; set; }A type of font in which to embed fonts in PS document.
virtual Exceptions { get; }Returns a list of suppressed conversion errors If !:SuppressErrors is true.
JpegQualityLevel { get; set; }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.
Margins { get; set; }The margins of the page.
PageSize { get; set; }The size of the page.
SaveFormat { get; set; }The save format of resulting file.
Size { get; set; }Gets/sets the size of the image.
virtual SupressErrors { get; set; }Specifies whether errors must be suppressed or not. If true suppressed errors are added to Exceptions list. If false the first error will terminate the program.
Transparent { get; set; }Indicates if background is transparent.

See Also