GroupDocs.Merger
23.9.0
Prefix Reserved
See the version list below for details.
dotnet add package GroupDocs.Merger --version 23.9.0
NuGet\Install-Package GroupDocs.Merger -Version 23.9.0
<PackageReference Include="GroupDocs.Merger" Version="23.9.0" />
<PackageVersion Include="GroupDocs.Merger" Version="23.9.0" />
<PackageReference Include="GroupDocs.Merger" />
paket add GroupDocs.Merger --version 23.9.0
#r "nuget: GroupDocs.Merger, 23.9.0"
#:package GroupDocs.Merger@23.9.0
#addin nuget:?package=GroupDocs.Merger&version=23.9.0
#tool nuget:?package=GroupDocs.Merger&version=23.9.0
Document Merger .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
This .NET on-premise API lets your apps perform merging, trimming, reordering, swapping and lots of other operations on document pages of various file formats.
Document Merger Processing Features
- Merge two or more documents into a single file.
- Join a specific or group of pages from various files into one document.
- Split a document into several resultant documents.
- Split document by providing specific page numbers.
- Split the document into several multiple-page files by providing various page intervals.
- Specify exact line numbers to create its separate one-liner file.
- Change page position within a document.
- Remove single or multiple pages from the document.
- Remove several pages from a document based on the page number.
- Rotate the page to an angle of 90, 180, or 270 degrees.
- Swap the position of two pages within a document.
- Extract a specific page or a range of pages from the document.
- Change page orientation (portrait, landscape) of specific or all pages within a document.
- Set, update or remove the document password.
- Obtain basic meta-information about the document.
- Generate image representation of the document pages.
- Ability to log document manipulation process information.
- Load document from local disk, stream, or from URL.
Supported Join, Split & Trim File Formats
Microsoft Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF
Microsoft Excel: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM, XLAM
Microsoft PowerPoint: PPT, PPTX, PPS, PPSX
Microsoft Visio: VSDX, VSDM, VSSX, VSSM, VSTX, VSTM, VDX, VSX, VTX
Microsoft OneNote: ONE
OpenOffice: ODT, OTT, ODP, OTP, ODS
Web: HTML, MHT, MHTML
Portable: PDF, XPS
Other: TEX, EPUB
Please visit the Supported Document Types page for the details.
Platform Independence
GroupDocs.Merger for .NET does not require any external software or third-party tool to be installed. GroupDocs.Merger for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
Get Started
Are you ready to give GroupDocs.Merger for .NET a try? Simply execute Install-Package GroupDocs.Merger from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Merger assembly in your project. If you already have GroupDocs.Merger for .Net and want to upgrade it, please execute Update-Package GroupDocs.Merger to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Join Specific Pages from Various DOCX Files
string filePath = @"c:\sample.docx";
string filePath2 = @"c:\sample2.docx";
string filePathOut = @"c:\output\result.docx";
JoinOptions joinOptions = new JoinOptions(1, 4, RangeMode.OddPages);
using(Merger merger = new Merger(filePath, loadOptions)) {
merger.Join(filePath2, joinOptions);
merger.Save(filePathOut);
}
Swap Page Position within PPTX via C# Code
string filePath = @"c:\sample.pptx";
string filePathOut = @"c:\output\result.pptx";
int pageNumber1 = 3;
int pageNumber2 = 6;
SwapOptions swapOptions = new SwapOptions(pageNumber2, pageNumber1);
using(Merger merger = new Merger(filePath)) {
merger.SwapPages(swapOptions);
merger.Save(filePathOut);
}
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.1)
- SkiaSharp (>= 2.88.3)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 5.0.3)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 6.0.3)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net6.0
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.1)
- SkiaSharp (>= 2.88.3)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 5.0.3)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 6.0.3)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.4.0 | 131 | 4/30/2026 |
| 25.11.0 | 1,719 | 11/28/2025 |
| 25.9.0 | 1,408 | 9/4/2025 |
| 25.7.0 | 718 | 7/29/2025 |
| 25.6.0 | 847 | 6/3/2025 |
| 25.5.0 | 595 | 5/14/2025 |
| 25.4.0 | 1,474 | 4/9/2025 |
| 25.3.0 | 1,970 | 3/19/2025 |
| 25.2.1 | 2,358 | 2/6/2025 |
| 25.2.0 | 1,274 | 2/4/2025 |
| 24.12.0 | 10,272 | 12/5/2024 |
| 24.11.0 | 2,252 | 11/19/2024 |
| 24.10.0 | 12,976 | 10/15/2024 |
| 24.9.0 | 1,641 | 9/17/2024 |
| 24.8.0 | 2,991 | 8/27/2024 |
| 24.7.0 | 5,841 | 7/15/2024 |
| 24.6.1 | 1,446 | 6/25/2024 |
| 24.6.0 | 1,998 | 6/3/2024 |
| 24.4.0 | 41,579 | 4/16/2024 |
| 23.9.0 | 21,258 | 9/19/2023 |
