Aspose.Slides.Cpp 20.2.0

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

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Slides.Cpp -Version 20.2.0
dotnet add package Aspose.Slides.Cpp --version 20.2.0
<PackageReference Include="Aspose.Slides.Cpp" Version="20.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Slides.Cpp --version 20.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

C++ Class Library to Process Presentations

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

Presentation Processing Features

New Features in Version 20.2.0

  • Support for getting size of paragraph and portion inside table cell text frame.
  • Update custom document properties directly on the source document.

Public API Changes in Version 20.2.0

  • IPortion::GetRect() method has been added. This method extends and replaces the IPortion::GetCoordinates() method. IPortion::GetRect() and IParagraph::GetRect() methods can be applied to the text within table cells.

For the detailed notes, please visit Aspose.Slides for CPP 20.2 Release Notes.

Read & Write PowerPoint Files

Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenOffice: ODP
Open Document: OTP
Other: TIFF, EMF, XML

Save Presentation As

Fixed Layout: PDF, XPS
Images: 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).

Getting Started with Aspose.Slides for C++

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 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 | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

C++ Class Library to Process Presentations

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

Presentation Processing Features

New Features in Version 20.2.0

  • Support for getting size of paragraph and portion inside table cell text frame.
  • Update custom document properties directly on the source document.

Public API Changes in Version 20.2.0

  • IPortion::GetRect() method has been added. This method extends and replaces the IPortion::GetCoordinates() method. IPortion::GetRect() and IParagraph::GetRect() methods can be applied to the text within table cells.

For the detailed notes, please visit Aspose.Slides for CPP 20.2 Release Notes.

Read & Write PowerPoint Files

Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenOffice: ODP
Open Document: OTP
Other: TIFF, EMF, XML

Save Presentation As

Fixed Layout: PDF, XPS
Images: 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).

Getting Started with Aspose.Slides for C++

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 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 | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/slidescpp/Aspose.Slides+for+CPP+20.2+Release+Notes

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.5.0 49 5/19/2020
20.4.0 59 4/28/2020
20.3.0 89 3/24/2020
20.2.0 71 2/20/2020
20.1.0 171 1/24/2020
19.12.0 119 12/20/2019
19.11.0 95 11/27/2019
19.10.0 155 10/28/2019
19.9.0 143 9/18/2019
19.8.0 148 8/30/2019
19.7.0 184 7/24/2019
19.6.0 245 6/21/2019
19.5.0 206 5/30/2019
19.4.0 224 4/26/2019
19.3.0 219 4/4/2019
19.2.0 240 2/28/2019
19.1.0 244 1/30/2019
18.12.0 369 12/27/2018
18.11.0 22,096 12/1/2018
18.10.0 9,583 10/31/2018
18.9.0 756 9/30/2018
18.8.0 470 8/30/2018
18.7.0 521 7/27/2018
18.6.0 636 7/1/2018
18.5.0 532 5/30/2018
18.4.0 436 5/7/2018
18.3.0 485 4/10/2018
18.2.0 588 2/28/2018