Merge PPTX

How to merge PPTX files in C#

GroupDocs.Merger allows developers to merge PPTX files when it’s needed to organize multiple PPTX files into single document or send fewer attachments etc. And you can do this without¬†any third-party software or manual work involved. With GroupDocs.Merger it is possible to combine PPTX documents of any size and structure - all text, images, tables, graphs, forms and other content will be preserved.

The following example demonstrates how to merge PPTX files with several lines of C# code:

  • Create an instance of Merger class and pass source PPTX file path as a constructor parameter. You may specify absolute or relative file path as per your requirements.
  • Add another PPTX file to merge with Join method. Repeat this step for other PPTX documents you want to merge.
  • Call Merger class Save method and specify the filename for the merged PPTX file as parameter.
// Load the source PPTX file
using (Merger merger = new Merger(@"c:\sample1.pptx"))
    // Add another PPTX file to merge
    // Merge PPTX files ans save result

About PPTX File Format

Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. A presentation file is a collection of slides where each slide can comprise of text, images, formatting, animations, and other media.

Code Examples

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!

Merge PPTX Live Demo

GroupDocs.Merger for .NET provides an online PPTX Merger App, which allows you to try it for free and check its quality and accuracy.

“Merge PPTX”