Aspose::Pdf::XpsSaveOptions class

XpsSaveOptions class

Save options for export to Xps format.

class XpsSaveOptions : public Aspose::Pdf::UnifiedSaveOptions,
                       public Aspose::Pdf::IPipelineOptions

Methods

MethodDescription
get_BatchSize() overrideDefines batch size if batched conversion is applicable to source and destination formats pair.
get_CacheGlyphs() constGets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
get_CloseResponse() constGets boolean value which indicates will Response object be closed after document saved into response.
get_ExtractOcrSublayerOnly() constThis atrribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
get_SaveFormat() constFormat of data save.
get_SaveTransparentTexts() constIndicates whether to preserve transparent (OCR’ed) text.
get_UseNewImagingEngine() constGets UseNewImagingEngine option.
get_WarningHandler() constCallback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
set_BatchSize(int32_t) overrideDefines batch size if batched conversion is applicable to source and destination formats pair.
set_CacheGlyphs(bool)Sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
set_CloseResponse(bool)Sets boolean value which indicates will Response object be closed after document saved into response.
set_ExtractOcrSublayerOnly(bool)This atrribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
set_SaveTransparentTexts(bool)Indicates whether to preserve transparent (OCR’ed) text.
set_UseNewImagingEngine(bool)Sets UseNewImagingEngine option.
set_WarningHandler(System::SharedPtr<IWarningCallback>)Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
UnifiedSaveOptions()
XpsSaveOptions()Constructor.

See Also