C++ REST API to Process Presentation in Cloud
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
This REST API enables your C++ cloud-based apps to process & manipulate PPT, PPTX, ODP, OTP presentations in the cloud.
Presentation Processing Features
- Document format conversion among 20+ supported formats.
- Download slides and shapes in PDF, SVG & various other formats.
- PowerPoint presentation split and merge capability.
- Full access to perform read & write operations on Document Object Model (DOM).
- Fetch presentation statistics and metadata.
- Support of Aspose Storage API.
Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenOffice: ODP, OTP
Save Presentation As
Fixed Layout: PDF, XPS
Images: TIFF, JPEG, PNG, GIF, BMP, SVG
Web: HTML
Other: SWF (export whole presentations)
Prerequisites
To use Aspose Slides Cloud SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is a free quota available. For more details, see Aspose Cloud Pricing.
Installation
From the command line:
nuget Install-Package Aspose.Slides-Cloud.Cpp
From Package Manager:
PM> Install-Package Aspose.Slides-Cloud.Cpp
std::shared_ptr<asposeslidescloud::api::SlidesApi> api = std::make_shared<asposeslidescloud::api::SlidesApi>(utility::conversions::to_string_t("MyAppSid"), utility::conversions::to_string_t("MyAppKey"));
api->getSlidesApiInfo().get()->getName();
std::shared_ptr<PostSlidesConvertRequest> request = std::make_shared<PostSlidesConvertRequest>();
request->setFormat(utility::conversions::to_string_t("pdf"));
request->setDocument(std::make_shared<std::ifstream>("MyPresentation.pptx", std::ios::binary));
std::ofstream fs("MyPresentation.pdf", std::ios::binary);
api->postSlidesConvert().get().writeTo(versionStream);
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial