Aspose.Slides  for C++

C++ PowerPoint API

Read, write, process, convert PowerPoint presentations in C++ applications without any Microsoft PowerPoint dependencies.

  Download Free Trial
  
 

Aspose.Slides for C++ is a powerful PowerPoint API to manipulate, render & convert PPT(X) in C++ without Microsoft PowerPoint. API supports high fidelity rendering of slides in the documents to various graphics formats as well as provides the functionality to modify or create almost all the possible contents of the files, format text and shapes on slides and much more.

Aspose.Slides for C++ supports most PowerPoint and slideshow formats including POT, PPT, PPS, POTX, PPTX, PPSX, ODP and others. Aspose.Slides for C++ can also convert all these formats into PDF, HTML, XPS, etc.

Advanced C++ PowerPoint Processing Library Features

Save the presentation to file or stream

Convert presentations to standard formats

Manage built-in & custom document properties

Password protect presentations

Add, format & manipulate charts

Add, format & manipulate shapes

Add, format & manipulate slides

Add, format & manipulate text

Add, format & manipulate tables

Export presentations to PDF & XPS

Export slides in SVG format

Add images to presentations

Generate presentations from database

Support for MSO 2016 Charts

Export presentations as HTML

Import and export HTML text in slides

Add layout slides to presentations

Load protected presentations

Set Font Size of Individual Legend

Create Stock Chart and Get Chart Image

Change Series Color

Set Chart Area Rounded Borders

Change Color of Categories in Series

Set Font Properties for Chart Data Table

Export PowerPoint Files as PDF or XPS

Having its own specially designed rendering engine, Aspose.Slides for C++ renders with the highest of fidelity to the Microsoft PowerPoint. It allows exporting presentations to industry-standard formats like XPS and PDF with similar results as of the original presentation.

Render presentation in PDF & XPS formats - C++

// load presentation to be converted

SharedPtr<Presentation> prs = MakeObject<Presentation>(dir + L"template.pptx");

// save in PDF & XPS formats

prs->Save(dir + L"output.pdf", Aspose::Slides::Export::SaveFormat::Pdf);

prs->Save(dir + L"output.xps", Aspose::Slides::Export::SaveFormat::Xps);

Copy or Clone Presentation Slides

There are built-in methods provided by Aspose.Slides for C++ to clone or copy existing slides not only within a document but also from one file to the other. Since a slide inherits its layout from the master slide, the built-in cloning methods automatically copy the master during the cloning process.

Microsoft PowerPoint Content Formatting

Library allows formatting shapes and text on slides in a file while using API. Text is managed through text frames associated with shapes, hence text is formatted using paragraphs and portions associated with the text frames. You can manage the font type, color, size, shades as well as the paragraph alignment, bulleting & orientation. One can also manipulate shape element attributes such as size, line, position, image, text and fill with great ease.

Serialize Shapes

Although Aspose.Slides for C++ supports a large number of shapes, however, if a shape is not supported by the API, there is a serialization method provided through which you can serialize that shape from an existing slide for further usage as per application requirement.

  

Support and Learning Resources