ConversionEvents class
Leave feedback
On this page
Aggregates conversion lifecycle event handlers.
Pass an instance to the Converter constructor’s events parameter or to the fluent WithEvents method.
Prefer this over the individual ConverterSettings handler properties, which are obsolete.
The ConversionEvents type exposes the following members:
| Constructor | Description |
|---|---|
| init |
| Property | Description |
|---|---|
| on_compression_completed | The event that is fired when compression of conversion output completes. Only invoked in builds that include the compression pipeline (LIB_ZIP). |
| on_conversion_completed | The event that fires once when the conversion run finishes, regardless of success or failure. |
| on_conversion_progress | The conversion progress as a percentage (0–100), fired periodically. |
| on_conversion_started | The event that is fired once at the start of the conversion run, before any document is processed. |
| on_document_converted | The event is fired once per whole-document conversion that completes successfully. |
| on_document_failed | The event fired once per whole-document conversion that fails. |
| on_font_substituted | The event fired when a font referenced by the source document is not available and is substituted (either by a customer‑supplied FontSubstitute rule, by the configured default font, or by the conversion pipeline’s internal fallback). |
| on_page_converted | The event fired once per page when a per-page conversion completes successfully. |
| on_page_failed | The event fired once per page when a per-page conversion fails. |
- module
groupdocs.conversion
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.