PsSaveOptions

Inheritance: java.lang.Object, com.aspose.pdf.SaveOptions, com.aspose.pdf.UnifiedSaveOptions

public class PsSaveOptions extends UnifiedSaveOptions

Save options for export to PS (PostScript) or EPS format.

Constructors

ConstructorDescription
PsSaveOptions()Constructor.
PsSaveOptions(SaveFormat saveFormat)Constructor.

Methods

MethodDescription
getEmbedFont()Gets/sets flag that indicates if fonts must be embedded in resulting PS document.
setEmbedFont(boolean value)Gets/sets flag that indicates if fonts must be embedded in resulting PS document.
getEmbedFontAs()Gets/sets type in which fonts must be embedded in resulting PS document.
setEmbedFontAs(String value)Gets/sets type in which fonts must be embedded in resulting PS document.

PsSaveOptions()

public PsSaveOptions()

Constructor.

PsSaveOptions(SaveFormat saveFormat)

public PsSaveOptions(SaveFormat saveFormat)

Constructor.

Parameters:

ParameterTypeDescription
saveFormatSaveFormatSaveFormat element

getEmbedFont()

public final boolean getEmbedFont()

Gets/sets flag that indicates if fonts must be embedded in resulting PS document.

Returns: boolean - boolean value

setEmbedFont(boolean value)

public final void setEmbedFont(boolean value)

Gets/sets flag that indicates if fonts must be embedded in resulting PS document.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getEmbedFontAs()

public final String getEmbedFontAs()

Gets/sets type in which fonts must be embedded in resulting PS document.

Returns: java.lang.String - String value

setEmbedFontAs(String value)

public final void setEmbedFontAs(String value)

Gets/sets type in which fonts must be embedded in resulting PS document.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value