Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.Slides for C++
Aspose.Slides for C++

Aspose.Slides for C++

Aspose Marketplace

|
67 clicks
| (0) | Free Trial
Read, write, process, convert PowerPoint presentations in C++ applications without requiring Microsoft PowerPoint.
Get Started

C++ Class Library to Process Presentations

Nuget Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

A standalone C++ class library to create, read, write, edit & convert Microsoft PowerPoint® presentations without needing PowerPoint or Office Automation.

Presentation Processing Features

  • Create, open, and work with presentations without Microsoft PowerPoint.
  • Convert presentation to any of the supported file formats.
  • Adding, formatting, and manipulating charts, shapes, slides, SmartArt, tables, and text in presentations.

Read & Write PowerPoint Files

Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenDocument: ODP, OTP
Metafile: EMF
Image: TIFF, XML

Save Presentation As

Fixed Layout: PDF, XPS
Image: JPEG, PNG, GIF, BMP, SVG
Web: HTML

Platform Independence

Aspose.Slides for C++ is a native C++ library that supports 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).

Get Started

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.

Create PPTX Presentation using C++

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);

Convert PPTX to PDF using C++

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft