IConversionHandlersStage class

IConversionHandlersStage class

Represents a flattened conversion handlers stage.

Allows setting OnConversionCompleted or OnConversionFailed in any order and any number of times, before proceeding to Convert / Compress. Events should be registered at the early stage via IConversionSettings.with_events instead of in this stage.

The IConversionHandlersStage type exposes the following members:

Methods

Method Description
compress Compresses the conversion results.
compress_compression_convert_options
convert Execute conversion chain.
on_conversion_completed Registers a callback to be invoked when a document conversion completes successfully, replacing any previously set handler on re‑invocation.
on_conversion_completed_action
on_conversion_failed Registers a callback to be invoked when a document conversion fails.
on_conversion_failed_action

See Also