Class PsConverterOptions

Class PsConverterOptions

Namespace: Aspose.Page.Plugins
Assembly: Aspose.Page.dll (25.1.2)

Represents options for Aspose.Page.Plugins.PsConverter plugin.

public class PsConverterOptions : IPluginOptions

Inheritance

objectPsConverterOptions

Derived

PsConverterToImageOptions, PsConverterToPdfOptions

Implements

IPluginOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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[]

DataCollection

Returns PsConverterOptions plugin data collection.

public List<idatasource> DataCollection { get; }

Property Value

List<IDataSource&gt;

Debug

Specifies whether debug information must be printed to standard output stream or not.

public virtual bool Debug { get; set; }

Property Value

bool

Exceptions

Returns a list of suppressed conversion errors If SuppressErrors is true.

public virtual IList<exception> Exceptions { get; set; }

Property Value

IList<Exception&gt;

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

int

OperationName

Returns operation name.

public virtual string OperationName { get; }

Property Value

string

SaveTargetsCollection

Gets collection of added targets for saving operation results.

public List<idatasource> SaveTargetsCollection { get; }

Property Value

List<IDataSource&gt;

SupressErrors

Specifies whether errors must be suppressed or not. If true suppressed errors are added to Aspose.Page.Plugins.PsConverterOptions.Exceptions list. If false the first error will terminate the program.

public bool SupressErrors { get; set; }

Property Value

bool

Methods

AddDataSource(IDataSource)

Adds new data source to the PsConverter plugin data collection.

public void AddDataSource(IDataSource dataSource)

Parameters

dataSource IDataSource

Data source to add.

AddSaveDataSource(IDataSource)

Adds new data source to the PsConverterOptions plugin data collection.

public void AddSaveDataSource(IDataSource saveDataSource)

Parameters

saveDataSource IDataSource

Data source (file or stream) for saving operation results.

Exceptions

NotImplementedException

 English