Class PsSaveOptions

Class PsSaveOptions

Namespace: Aspose.Page.EPS.Device
Assembly: Aspose.Page.dll (25.1.2)

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

public class PsSaveOptions : SaveOptions

Inheritance

objectSaveOptionsPsSaveOptions

Inherited Members

SaveOptions.SupressErrors, SaveOptions.Size, SaveOptions.Exceptions, SaveOptions.Debug, SaveOptions.AdditionalFontsFolders, SaveOptions.JpegQualityLevel, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

PsSaveOptions()

Initializes a new instance of the Aspose.Page.EPS.Device.PsSaveOptions class with default values for flags SuppressErrors (true) and Debug (false).

public PsSaveOptions()

PsSaveOptions(bool)

Initializes a new instance of the Aspose.Page.EPS.Device.PsSaveOptions class with default values for flag Debug (false).

public PsSaveOptions(bool supressErrors)

Parameters

supressErrors bool

Specifies whether errors must be suppressed or not. If true suppressed errors are added to Exceptions list.

Properties

BackgroundColor

The background color.

public Color? BackgroundColor { get; set; }

Property Value

Color?

EmbedFonts

Indicates whether to embed used fonts in PS document.

public bool EmbedFonts { get; set; }

Property Value

bool

EmbedFontsAs

A type of font in which to embed fonts in PS document.

public string EmbedFontsAs { get; set; }

Property Value

string

Margins

The margins of the page.

public Margins Margins { get; set; }

Property Value

Margins

PageSize

The size of the page.

public Size PageSize { get; set; }

Property Value

Size

SaveFormat

The save format of resulting file.

public PsSaveFormat SaveFormat { get; set; }

Property Value

PsSaveFormat

Transparent

Indicates if background is transparent.

public bool Transparent { get; set; }

Property Value

bool

 English