Aspose::Pdf::XpsLoadOptions class

XpsLoadOptions class

Represents options for loading/importing xps file into pdf document.

class XpsLoadOptions : public Aspose::Pdf::LoadOptions,
                       public Aspose::Pdf::IPipelineOptions

Methods

MethodDescription
get_BatchSize() overrideDefines batch size if batched conversion is applicable to source and destination formats pair.
get_DisableFontLicenseVerifications() constGets flag to disable any license restrictions for all fonts while loading the file. When true

, allows to execute operations with font that are prohibited by a license of this font, for example allows to embed a font into a PDF document even if license rules disable embedding for this font. By default false

. | | get_LoadFormat() const | Represents file format which LoadOptions describes. | | get_WarningHandler() const | Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease. | | LoadOptions() | | | set_BatchSize(int32_t) override | Defines batch size if batched conversion is applicable to source and destination formats pair. | | set_DisableFontLicenseVerifications(bool) | Sets flag to disable any license restrictions for all fonts while loading the file. When true

, allows to execute operations with font that are prohibited by a license of this font, for example allows to embed a font into a PDF document even if license rules disable embedding for this font. By default false

. | | 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 Load operation continues, however the user may also return Abort in which case the Load operation should cease. | | XpsLoadOptions() | Creates default load options for converting xps file into pdf document. |

See Also