public class XpsSaveOptions extends UnifiedSaveOptions implements IPipelineOptions
Save options for export to Xps format
UnifiedSaveOptions.ConversionProgressEventHandler, UnifiedSaveOptions.ProgressEventHandlerInfo
SaveOptions.BorderInfo, SaveOptions.BorderPartStyle, SaveOptions.HtmlBorderLineType, SaveOptions.MarginInfo, SaveOptions.MarginPartStyle, SaveOptions.NodeLevelResourceType, SaveOptions.ResourceSavingInfo
IsMultiThreading
Constructor and Description |
---|
XpsSaveOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Defines batch size if batched conversion is applicable
to source and destination formats pair.
|
String |
getDefaultFont()
Gets/sets the default font name.
|
boolean |
getSaveTransparentTexts()
Indicates whether to preserve transparent (OCR'ed) text.
|
boolean |
getUseEmbeddedTrueTypeFonts()
Gets/sets the flag to use embedded TrueType fonts.
|
boolean |
isUseNewImagingEngine()
Deprecated.
UseNewImagingEngine is deprecated
|
void |
setBatchSize(int value)
Defines batch size if batched conversion is applicable
to source and destination formats pair.
|
void |
setDefaultFont(String value)
Gets/sets the default font name.
|
void |
setSaveTransparentTexts(boolean value)
Indicates whether to preserve transparent (OCR'ed) text.
|
void |
setUseEmbeddedTrueTypeFonts(boolean value)
Gets/sets the flag to use embedded TrueType fonts.
|
void |
setUseNewImagingEngine(boolean value)
Deprecated.
UseNewImagingEngine is deprecated
|
getProgressEventsRetranslator, isExtractOcrSublayerOnly, isTryMergeAdjacentSameBackgroundImages, setExtractOcrSublayerOnly, setProgressEventsRetranslator, setTryMergeAdjacentSameBackgroundImages
getSaveFormat, getWarningHandler, isCacheGlyphs, isCloseResponse, setCacheGlyphs, setCloseResponse, setWarningHandler
public final boolean getSaveTransparentTexts()
Indicates whether to preserve transparent (OCR'ed) text.
public final void setSaveTransparentTexts(boolean value)
Indicates whether to preserve transparent (OCR'ed) text.
value
- boolean valuepublic final int getBatchSize()
Defines batch size if batched conversion is applicable to source and destination formats pair.
getBatchSize
in interface IPipelineOptions
public final void setBatchSize(int value)
Defines batch size if batched conversion is applicable to source and destination formats pair.
setBatchSize
in interface IPipelineOptions
value
- int valuepublic final String getDefaultFont()
Gets/sets the default font name. Used if the embedded font name is not found in the system.
public final void setDefaultFont(String value)
Gets/sets the default font name. Used if the embedded font name is not found in the system.
value
- String valuepublic final boolean getUseEmbeddedTrueTypeFonts()
Gets/sets the flag to use embedded TrueType fonts. Avoiding the use of embedded TrueType fonts can reduce conversion time.
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.
value
- boolean value@Deprecated public final boolean isUseNewImagingEngine()
Gets or sets UseNewImagingEngine option.
@Deprecated public final void setUseNewImagingEngine(boolean value)
Gets or sets UseNewImagingEngine option.
value
- boolean valueCopyright © 2025 Aspose. All Rights Reserved.