PsConverterToPdfOptions

Inheritance: java.lang.Object, com.aspose.eps.plugins.PsConverterOptions

public class PsConverterToPdfOptions extends PsConverterOptions

Represents PS/EPS to PDF converter options for PsConverter plugin.

Constructors

ConstructorDescription
PsConverterToPdfOptions()Initializes new instance of the PsConverterToPdfOptions object.

Methods

MethodDescription
addDataSource(IDataSource dataSource)Adds new data source to the PsConverter plugin data collection.
addSaveDataSource(IDataSource saveDataSource)Adds new data source to the PsConverterOptions plugin data collection.
equals(Object arg0)
getAdditionalFontsFolders()Returns additional fonts folders where converter should find fonts for input document.
getClass()
getDataCollection()Returns PsConverterOptions plugin data collection.
getExceptions()Returns a list of non-critical errors.
getJpegQualityLevel()Returns the value specifying the level of compression for an image.
getOperationName()Returns operation name.
getSaveTargetsCollection()Gets collection of added targets for saving operation results.
hashCode()
isDebug()Gets the flag that allows output of warnings and messages during conversion.
isSupressErrors()Returns a value indicating whether errors will be suppressed during conversion.
notify()
notifyAll()
setAdditionalFontsFolders(String[] fontsFolders)Specifies additional fonts folders where converter should find fonts for input document.
setDebug(boolean debug)Specifies the flag that allows output of warnings and messages during conversion.
setJpegQualityLevel(int value)Sets the value specifying the level of compression for an image.
setSupressErrors(boolean supressErrors)Specifies the flag that indicates whether errors will be suppressed during conversion.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PsConverterToPdfOptions()

public PsConverterToPdfOptions()

Initializes new instance of the PsConverterToPdfOptions object.

addDataSource(IDataSource dataSource)

public final void addDataSource(IDataSource dataSource)

Adds new data source to the PsConverter plugin data collection.

Parameters:

ParameterTypeDescription
dataSourceIDataSourceData source to add.

addSaveDataSource(IDataSource saveDataSource)

public final void addSaveDataSource(IDataSource saveDataSource)

Adds new data source to the PsConverterOptions plugin data collection.

Parameters:

ParameterTypeDescription
saveDataSourceIDataSourceData source (file or stream) for saving operation results.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAdditionalFontsFolders()

public String[] getAdditionalFontsFolders()

Returns additional fonts folders where converter should find fonts for input document. Default folder is standard fonts folder where OS finds fonts for internal needs.

Returns: java.lang.String[] - An array of fonts folders.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDataCollection()

public final List<IDataSource> getDataCollection()

Returns PsConverterOptions plugin data collection.

Returns: java.util.List<com.aspose.page.plugins.IDataSource>

getExceptions()

public List<Exception> getExceptions()

Returns a list of non-critical errors.

Returns: java.util.List<java.lang.Exception> - Exceptions list

getJpegQualityLevel()

public int getJpegQualityLevel()

Returns the value specifying 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.

Returns: int - The value specifying the level of compression for an image.

getOperationName()

public final String getOperationName()

Returns operation name.

Returns: java.lang.String

getSaveTargetsCollection()

public final List<IDataSource> getSaveTargetsCollection()

Gets collection of added targets for saving operation results.

Returns: java.util.List<com.aspose.page.plugins.IDataSource>

hashCode()

public native int hashCode()

Returns: int

isDebug()

public boolean isDebug()

Gets the flag that allows output of warnings and messages during conversion.

Returns: boolean - debug value.

isSupressErrors()

public boolean isSupressErrors()

Returns a value indicating whether errors will be suppressed during conversion.

Returns: boolean - boolean value

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAdditionalFontsFolders(String[] fontsFolders)

public void setAdditionalFontsFolders(String[] fontsFolders)

Specifies additional fonts folders where converter should find fonts for input document. Default folder is standard fonts folder where OS finds fonts for internal needs.

Parameters:

ParameterTypeDescription
fontsFoldersjava.lang.String[]An array of fonts folders.

setDebug(boolean debug)

public void setDebug(boolean debug)

Specifies the flag that allows output of warnings and messages during conversion.

Parameters:

ParameterTypeDescription
debugbooleanBoolean value.

setJpegQualityLevel(int value)

public void setJpegQualityLevel(int value)

Sets the value specifying 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.

Parameters:

ParameterTypeDescription
valueintThe value specifying the level of compression for an image.

setSupressErrors(boolean supressErrors)

public void setSupressErrors(boolean supressErrors)

Specifies the flag that indicates whether errors will be suppressed during conversion.

Parameters:

ParameterTypeDescription
supressErrorsbooleanBoolean value.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int