Track Split Progress

Introduction

Aspose.Slides Cloud provides asynchronous split API that uses an opearation queue under the hood. This API can be useful for splitting large files that can take considerable time. With async api, you need not wait synchronously for the operation to finish. Instead, you get operation Id, which you use to track the operation status.

To split a presentation into slides with async API, you should to the following:

  1. Call one of the async split methods, SlidesAsyncApi.StartSplit or SlidesAsyncApi.StartUploadAndSplit. The methods return operation Id.

  2. Call SlidesAsyncApi.GetOperationStatus method to check operation status. Started or Created means the operation is not complete. Finished, Failed or Canceled means the operation is finished or aborted.

  3. While the operation is in Started state you can check Progress property to track the split progress.

  4. Once the operation is finished, use ordinary API method to retrieve the files produced by it. The destFolder parameter determines the storage folder there the files are placed. If the parameter is omitted, the output files are placed to the same folder as the source presentation.

  5. If the operation failed, you can inspect Error property of GetOperationStatus method for the details.

cURL Examples

Split a presentation into slides.

SDK Source

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. The Aspose.Slides Cloud SDKs can be downloaded from the following page: Available SDKs

SDK Examples

Merge two presentations.