Aspose.Slides Presentation Merger for .NET
Aspose.Slides Presentation Merger for .NET enables developers to merge two or more PowerPoint presentations into a single output file with full control over slide order and content fidelity. This tool is ideal for combining multiple decks from different authors or automating report generation in enterprise applications.
Installation and Setup
- Install the NuGet package
Aspose.Slides.NET. - Apply licensing at application startup to avoid evaluation limitations: Licensing .
- Verify compatibility: .NET System Requirements .
Supported Platforms
- OS: Windows, Linux, macOS
- Frameworks: .NET 6+, .NET Framework 4.0+, Mono
- Architectures: x86, x64, ARM64
Merge PowerPoint Presentations
The Presentation Merger for .NET is a plugin for merging presentations of the same format into a single output file.
// Merge the set of input PPT presentations into the one PPT presentation.
LowCode.Merger.Process(new string[] { "pres1.ppt", "pres2.ppt" }, "merged.ppt");// Merge the set of input presentations into the PPTX presentation without generation of the new thumbnail.
LowCode.Merger.Process(new string[] { "pres1.pptx", "pres2.pptx" }, "merged.pptx", new PptxOptions() { RefreshThumbnail = false });// Merge the set of input PPT presentations and save to the memory stream.
using(var stream = new MemoryStream())
Merger.Process(new string[] { "pres1.ppt", "pres2.ppt" }, stream);Features and Functionality
- Merge PowerPoint files of different sizes and templates
- Preserve animations, transitions, media, SmartArt, charts, and formatting
- Scale to handle dozens or even hundreds of presentations
- Works in batch automation and server-side workflows
- No need for Microsoft Office
Best Practices
- Ensure identical slide dimensions and template design for consistent layout
- Remove initial empty slide if creating a new Presentation instance
- Load large files using streams to optimize memory
- Validate licenses to avoid evaluation watermarks
FAQ
Are animations preserved during merge?
Yes, animations, transitions, and multimedia elements are retained.
Can I control where slides are inserted?
Yes — slides can be cloned to any position in the output deck.
Can file-level metadata be merged?
Presentation metadata can be managed programmatically before saving.
Does it work with encrypted presentations?
Yes — if the correct password is supplied.