Last active
September 24, 2020 11:30
-
-
Save aspose-cloud/821fe696c597083083921625b6f2d616 to your computer and use it in GitHub Desktop.
This Gist repository contains code snippet related to Aspose.Slides Cloud SDK for C++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspose.Slides-Cloud-SDK-CPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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