Track Document Conversion Progress

[ ]

Aspose.Email provides the facility to track the document conversion progress. For this, the API provides SaveOptions.CustomProgressHandler. which represents the method that handles the progress events. The progress event types are represented by the ProgressEventType enumeration. The ProgressEventType enumeration has the following members.

  • MimeStructureCreated: This event informs that the mime structure is created.
  • MimePartSaved: This event informs that saving of one mime part is finished.
  • SavedToStream: This event informs that all mime parts are saved to stream.

The following sample code demonstrates the use of SaveOptions.CustomProgressHandler and ProgressEventType enumeration track the document conversion progress.

The following is the code for the custom class used in the code sample given above.