Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This Gist repository contains code snippet related to Aspose.Slides Cloud SDK for C++
Aspose.Slides-Cloud-SDK-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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.