Tutorial 6 – Canceling AVI Exports

Requirements:
Tutorial 5 – Export AVI with Audio


In the previous tutorial, we learned how to Export AVIs with Audio.

In this tutorial, we’ll learn how to cancel all running AVI Exports.

If you recall our handling of various states during the Export process, we had:

Let’s extend our handling of the ‘in progress’ state and cancel our Export at 50% complete:

AxAuga’s CancelExport method takes a string that represents the ID of the Export to cancel. Using the ID of “-1” will cancel all running Exports. Currently, the SDK only supports the capability of canceling all of the Exports as the Export IDs aren’t exposed.

Screenshots of the final program:
Series-4-Tutorial-6-1
Series-4-Tutorial-6-2

That’s it. Now you can cancel AVI Exports.