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
| Constructor | Description |
|---|---|
| XpsSaveOptions | Constructor |
Methods
| Method | Description |
|---|---|
| getBatchSize | Defines batch size if batched conversion is applicable to source and destination formats pair. |
| getDefaultFont | Gets/sets the default font name. Used if the embedded font name is not found in the system. |
| getSaveTransparentTexts | Indicates whether to preserve transparent (OCR’ed) text. |
| getUseEmbeddedTrueTypeFonts | Gets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time. |
| isUseNewImagingEngine | Gets or sets UseNewImagingEngine option. |
| setBatchSize | Defines batch size if batched conversion is applicable to source and destination formats pair. |
| setDefaultFont | Gets/sets the default font name. Used if the embedded font name is not found in the system. |
| setSaveTransparentTexts | Indicates whether to preserve transparent (OCR’ed) text. |
| setUseEmbeddedTrueTypeFonts | Gets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time. |
| setUseNewImagingEngine | Gets 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:
| Parameter | Type | Description |
|---|---|---|
| value | int 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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean 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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setUseNewImagingEngine
@Deprecated public final void setUseNewImagingEngine(boolean value)
Gets or sets UseNewImagingEngine option.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value @deprecated UseNewImagingEngine is deprecated |