Aspose.Slides for C++ is a robust API for enhancing your C++ applications with the Microsoft PowerPoint and OpenDocument presentation manipulation features for a large variety of file formats (PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM, ODP, OTP, etc). Once you seamlessly integrate our API, your C++ Apps will not need any 3rd party component or software to be installed. Apart from presentation file creation, loading, conversion, merging, and printing you can also perform content formatting. Render slides, as well as the images on slides in various image formats (PNG, BMP, JPEG, etc). Add, format, modify, compare and clone slides as well as their layouts. Work with charts, shapes, SmartArt, tables, and text. Aspose.Slides for C++ also helps you with fine-tuning the 3D aspects of PowerPoint presentations (rotation, depth, extrusion, gradient, WordArt). Aspose.Slides for C++ supports both 32-bit and 64-bit Microsoft Windows as well as 64-bit Linux and macOS. Other versions: Aspose.Slides for C++ 32-bit library - https://www.nuget.org/packages/Aspose.Slides.Cpp.x86
$ dotnet add package Aspose.Slides.Cpp
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License | 32-bit edition
A standalone C++ class library to create, read, write, edit & convert Microsoft PowerPoint® presentations without needing PowerPoint or Office Automation.
Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenDocument: ODP, OTP
Metafile: EMF
Image: TIFF, XML
Fixed Layout: PDF, XPS
Image: JPEG, PNG, GIF, BMP, SVG
HTML
Aspose.Slides for C++ is a native C++ library that supports 32-bit and 64-bit operating systems, such as, Windows (XP and onward) & Linux (Ubuntu 16.04 or later). The supported platforms include Windows (Microsoft Visual C++) & Linux (Clang).
Let's give Aspose.Slides for C++ a try! Simply execute Install-Package Aspose.Slides.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Slides for C++ and want to upgrade the version, please execute Update-Package Aspose.Slides.Cpp to get the latest version.
Try executing the below code snippet to see how Aspose.Slides for C++ performs in your environment or check the GitHub Repository for other common usage scenarios.
// instantiate Presentation class that represents PPTX file
SharedPtr<Presentation> pres = MakeObject<Presentation>();
SharedPtr<ISlide> slide = pres->get_Slides()->idx_get(0);
// add an autoshape of type line
slide->get_Shapes()->AddAutoShape(Aspose::Slides::ShapeType::Line, 50.0, 150.0, 300.0, 0.0);
// save presentation
pres->Save(u"output.pptx", Aspose::Slides::Export::SaveFormat::Pptx);
The following code sample demonstrates the conversion of Microsoft PowerPoint PPTX presentation to PDF format with C++:
// instantiate Presentation class that represents PPTX file
SharedPtr<Presentation> pres = MakeObject<Presentation>(u"template.pptx");
pres->Save(u"output.pdf", Aspose::Slides::Export::SaveFormat::Pdf);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License | 32-bit edition