Skip to main content
Any Framework

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++ 64-bit library - https://www.nuget.org/packages/Aspose.Slides.Cpp

Published
Feb 20, 2023
3y ago
Total Downloads
95.7K
95,653

Install

dotnet add package Aspose.Slides.Cpp.x86 --version 23.2.0

No framework information available.

README

C++ Class Library to Process Presentations

Version 23.2 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License | 64-bit edition

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

Without having to install PowerPoint or any 3rd party component, you can use Aspose.Slides to build different types of C++ applications. For example, Aspose, using its own APIs, developed these free web applications for popular conversion processes: PowerPoint to Word, PowerPoint to PDF, and PowerPoint to JPG.

Aspose.Slides for C++ requires you to use C++ to code. For .NET, Java and Python languages, we recommend you get Aspose.Slides for .NET, Aspose.Slides for Java and Aspose.Slides for Python via .NET, respectively.

Presentation Processing Features

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 32-bit and 64-bit operating systems. The supported platforms include Windows (Microsoft Visual Studio 2017 or later), Linux (Clang 3.9 or later, GCC 6.1 or later) and macOS (Xcode 13.4 or later). All versions of Aspose.Slides for C++ are available on the download page.

Get Started

Let's give Aspose.Slides for C++ a try! Simply execute Install-Package Aspose.Slides.Cpp.x86 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.x86 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 | 64-bit edition

Changes from Previous Version

No structural changes between v23.1.0 and v23.2.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.