PNG JPG BMP TIFF PPS
Aspose.Slides  for C++

Merge PPS Files using C++

PPS document merger using server-side C++ APIs.

Merge PPS File Using C++

In order to merge PPS file, we’ll use

Aspose.Slides for C++

API which is a feature-rich, powerful and easy to use document merger API for C++ platform. You can download its latest version directly, just open

NuGet

package manager, search for Aspose.Slides.Cpp and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Slides.Cpp

Steps for Merging PPS Files in C++

A basic document merging and concatenating with Aspose.Slides for C++ APIs can be done with just few lines of code.

  1. Load both PPS files.

  2. Use get_Slides() method to iterate through each slide.

  3. Use AddClone function to merge with the desired file.

  4. Use Save() method to save at specified path

System Requirements

Aspose.Slides for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Aspose.Slides for C++ DLL referenced in your project.
 

Merge PPS Files - C++

// The path to the documents directory.
const String sourceFilePath1 = u"SourceFile2.pps";
const String sourceFilePath2 = u"SourceFile3.pps";
const String outputFilePath = u"mergedOutput.pps";

// Instantiate Presentation class
SharedPtr<Presentation> presentation1 = MakeObject<Presentation>(sourceFilePath1);
SharedPtr<Presentation> presentation2 = MakeObject<Presentation>(sourceFilePath2);

for (SharedPtr<ISlide> slide : presentation2->get_Slides()){
	// Merge from source to destination 
	presentation1->get_Slides()->AddClone(slide);
}

// Save the presentation
presentation1->Save(outputFilePath, SaveFormat::Pps);  
 
  • Merge PDF Files Online

    How to Merge PDF in Python

    About Aspose.Slides for C++ API

    Aspose.Slides API can be used to read, write, manipulate and convert Microsoft PowerPoint documents to PDF, XPS, HTML, TIFF, ODP and various other formats. One can create new files from scratch and save those in the relevant supported formats. Aspose.Slides is a standalone API for creating, parsing or manipulating presentations, slides and elements and it does not depend on any software like Microsoft or OpenOffice.

    Online PPS Merger Live Demos

    Other Supported Merging Formats

    Using C++, One can also merge many other file formats including..

    ODP (OpenDocument Presentation Format)
    OTP (OpenDocument Standard Format)
    POT (Microsoft PowerPoint Template Files)
    POTM (Microsoft PowerPoint Template File)
    POTX (Microsoft PowerPoint Template Presentation)
    PPSM (Macro-enabled Slide Show)
    PPSX (PowerPoint Slide Show)
    PPT (Microsoft PowerPoint 97-2003)
    PPTM (Macro-enabled Presentation File)
    PPTX (Open XML presentation Format)