XpsSaveOptions

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

All Implemented Interfaces: com.aspose.pdf.IPipelineOptions

public class XpsSaveOptions extends UnifiedSaveOptions implements IPipelineOptions

Save options for export to Xps format

Constructors

ConstructorDescription
XpsSaveOptions()Constructor

Methods

MethodDescription
getSaveTransparentTexts()Indicates whether to preserve transparent (OCR’ed) text.
setSaveTransparentTexts(boolean value)Indicates whether to preserve transparent (OCR’ed) text.
getBatchSize()Defines batch size if batched conversion is applicable to source and destination formats pair.
setBatchSize(int value)Defines batch size if batched conversion is applicable to source and destination formats pair.
isUseNewImagingEngine()Gets or sets UseNewImagingEngine option.
setUseNewImagingEngine(boolean value)Gets or sets UseNewImagingEngine option.

XpsSaveOptions()

public XpsSaveOptions()

Constructor

getSaveTransparentTexts()

public final boolean getSaveTransparentTexts()

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

Returns: boolean - boolean value

setSaveTransparentTexts(boolean value)

public final void setSaveTransparentTexts(boolean value)

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

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getBatchSize()

public final int getBatchSize()

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

Returns: int - int value

setBatchSize(int value)

public final void setBatchSize(int value)

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

Parameters:

ParameterTypeDescription
valueintint value

isUseNewImagingEngine()

public final boolean isUseNewImagingEngine()

Gets or sets UseNewImagingEngine option.

Returns: boolean - boolean value

setUseNewImagingEngine(boolean value)

public final void setUseNewImagingEngine(boolean value)

Gets or sets UseNewImagingEngine option.

Parameters:

ParameterTypeDescription
valuebooleanboolean value