Convert PowerPoint to Video with C# REST API

Follow this article to convert PowerPoint to video with C# REST API. You will learn to develop a Power Point to video converter with C# RESTful Service using a .NET-based Cloud SDK. It shares different settings for customizing the output video according to the user’s requirements.

Prerequisite

Steps to Convert PPT to Video with C# Low Code API

  1. Create the SlidesApi object to transform a presentation into a video
  2. Create the VideoExportOptions object and set the custom settings for the presentation
  3. Upload the source presentation to the Cloud storage with a specified name
  4. Call the DownloadPresentation() method to transform the uploaded presentation into a video using the custom settings
  5. Save the API call response stream as an MP4 file on the local storage

These steps explain the process to turn PowerPoint into video with C# Low Code API. Create the SlidesApi object, upload the source presentation file to the Cloud storage, and instantiate the VideoExportOptions object to set custom properties for the output video. Finally, the DownloadPresentation() method is used to retrieve the presentation from the cloud storage in the specified format and settings.

Code for PowerPoint Slide to Video Converter with C# .NET-based API

This code demonstrates how to change PowerPoint presentation to MP4 with C# REST Interface. You may set the output video resolution to FullHD, HD, and QHD using the VideoExportOptions.VideoResolutionTypeEnum enumerator. There are a lot of transition types that you can opt such as fade, slide down, slide right, slide left, circle close, circle crop, etc.

This article has taught us to create a video from a presentation using a Cloud-based API. If you want to merge multiple presentations into a single presentation, refer to the article on Merge presentations with C# REST API.

 English