The repo contains Slidize.Cloud API client for .NET
The Slidize.Cloud is a free, simple, and secure RESTful service engaged to process PowerPoint presentations. The SDK is built on top of the RESTful service and allows you to make API calls just with a few lines of code.
Convert presentations | Merge presentations | Split presentation | Convert presentation to a video | Protect presentation | Unprotect presentation | Add text watermarks to presentations | Add image watermarks to presentations | Replace text in presentations | Remove macros from presentation | Remove annotations from presentation
The complete source code is available in this repository folder. Simply install the Slidize.Cloud.Sdk project into your solution.
Also, the SDK is distributed via the NuGet package. Details will be added soon.
You can find usage examples in the Slidize.Cloud.Sdk.Tests project.
The Online low-code apps for demonstrating API capabilities are available as well.
The code example below shows how to merge two presentations and save the result in PDF format. One of the presentations will provide an overall style for the output PDF.
var api = new SlidizeApi();
using var fileStream = File.Open("MyPresentation.pptx", FileMode.Open);
using var masterFileStream = File.Open("MasterPresentation.pptx", FileMode.Open);
var mergeOptions = new MergeOptions()
{
MasterFileName = "MasterPresentation.pptx",
ExcludeMasterFile = false
};
var stream = api.Merge(ExportFormat.Pdf, new List<Stream>() {fileStream, masterFileStream}, mergeOptions);
using var fs = new FileStream("result.pdf", FileMode.CreateNew);
stream.CopyTo(fs);
Generatate this code using the Slidize.Cloud Merge To PDF Low-Code app
Slidize.Cloud Low-Code Applications
Your feedback is very important to us. Please feel free to contact us at slidize@smallize.com