PsSaveOptions class

PsSaveOptions class

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

Inheritance: PsSaveOptionsSaveOptions

The PsSaveOptions type exposes the following members:

Constructors

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

Properties

NameDescription
supress_errorsSpecifies whether errors must be suppressed or not.
If true suppressed errors are added to None list.
If false the first error will terminate the program.
sizeGets/sets the size of the image.
debugSpecifies whether debug information must be printed to standard output stream or not.
additional_fonts_foldersSpecifies additional folders where converter should find fonts for input document.
Default folder are standard fonts folder where OS finds fonts for internal needs.
jpeg_quality_levelThe 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.
save_formatThe save format of resulting file.
page_sizeThe size of the page.
marginsThe margins of the page.
background_colorThe background color.
transparentIndicates if background is transparent.
embed_fontsIndicates whether to embed used fonts in PS document.
embed_fonts_asA type of font in which to embed fonts in PS document.

See Also