XpsSaveOptions

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

All Implemented Interfaces: IPipelineOptions

public class XpsSaveOptions extends UnifiedSaveOptions implements IPipelineOptions

Save options for export to Xps format

Constructors

ConstructorDescription
XpsSaveOptionsConstructor

Methods

MethodDescription
getBatchSizeDefines batch size if batched conversion is applicable to source and destination formats pair.
getDefaultFontGets/sets the default font name. Used if the embedded font name is not found in the system.
getSaveTransparentTextsIndicates whether to preserve transparent (OCR’ed) text.
getUseEmbeddedTrueTypeFontsGets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time.
isUseNewImagingEngineGets or sets UseNewImagingEngine option.
setBatchSizeDefines batch size if batched conversion is applicable to source and destination formats pair.
setDefaultFontGets/sets the default font name. Used if the embedded font name is not found in the system.
setSaveTransparentTextsIndicates whether to preserve transparent (OCR’ed) text.
setUseEmbeddedTrueTypeFontsGets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time.
setUseNewImagingEngineGets or sets UseNewImagingEngine option.

XpsSaveOptions

public XpsSaveOptions()

Constructor

getBatchSize

public final int getBatchSize()

Defines batch size if batched conversion is applicable to source and destination formats pair.

Returns: int value

getDefaultFont

public final String getDefaultFont()

Gets/sets the default font name. Used if the embedded font name is not found in the system.

Returns: String value

getSaveTransparentTexts

public final boolean getSaveTransparentTexts()

Indicates whether to preserve transparent (OCR’ed) text.

Returns: boolean value

getUseEmbeddedTrueTypeFonts

public final boolean getUseEmbeddedTrueTypeFonts()

Gets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time.

Returns: boolean value

isUseNewImagingEngine

@Deprecated public final boolean isUseNewImagingEngine()

Gets or sets UseNewImagingEngine option.

Returns: boolean value @deprecated UseNewImagingEngine is deprecated

setBatchSize

public final void setBatchSize(int value)

Defines batch size if batched conversion is applicable to source and destination formats pair.

Parameters:

ParameterTypeDescription
valueint value

setDefaultFont

Gets/sets the default font name. Used if the embedded font name is not found in the system.

setSaveTransparentTexts

public final void setSaveTransparentTexts(boolean value)

Indicates whether to preserve transparent (OCR’ed) text.

Parameters:

ParameterTypeDescription
valueboolean value

setUseEmbeddedTrueTypeFonts

public final void setUseEmbeddedTrueTypeFonts(boolean value)

Gets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time.

Parameters:

ParameterTypeDescription
valueboolean value

setUseNewImagingEngine

@Deprecated public final void setUseNewImagingEngine(boolean value)

Gets or sets UseNewImagingEngine option.

Parameters:

ParameterTypeDescription
valueboolean value @deprecated UseNewImagingEngine is deprecated