GroupDocs.Merger
24.12.0-alpha-20241204035106
See the version list below for details.
dotnet add package GroupDocs.Merger --version 24.12.0-alpha-20241204035106
NuGet\Install-Package GroupDocs.Merger -Version 24.12.0-alpha-20241204035106
<PackageReference Include="GroupDocs.Merger" Version="24.12.0-alpha-20241204035106" />
paket add GroupDocs.Merger --version 24.12.0-alpha-20241204035106
#r "nuget: GroupDocs.Merger, 24.12.0-alpha-20241204035106"
// Install GroupDocs.Merger as a Cake Addin #addin nuget:?package=GroupDocs.Merger&version=24.12.0-alpha-20241204035106&prerelease // Install GroupDocs.Merger as a Cake Tool #tool nuget:?package=GroupDocs.Merger&version=24.12.0-alpha-20241204035106&prerelease
Document Merger .NET API
This GroupDocs.Merger for .NET on-premise API lets your apps perform merging, splitting, swapping and lots of other operations on document pages of various file formats.
Content
- Document Merging and Splitting
- Document Security and Protection
- Page-Level Manipulation
- Cross-Format Merging and Embedding
- Platform Independence and Performance
- Integration and Support Resources
- Supported Document Types
- Get Started
- Merging DOCX Documents
- Cross-merging images to PDF
- Splitting DOCX document
- Swapping Pages in a PPTX Document
- Cross-merging various document streams to PDF
- Tags
Document Merging and Splitting
Merge Multiple File Types
Effortlessly merge files across different formats like PDF, DOCX, XLSX, PPTX, and EPUB into one cohesive document, simplifying document management.
Custom Document Splitting
Easily split documents into multiple files based on specified page numbers, start/end ranges, or even/odd page settings, allowing for tailored document management.
Merge DOCX Files
Allows developers to merge Word documents such as DOCX without third-party software, preserving all content.
Document Security and Protection
Robust Password Management
Secure your documents by adding, removing, or updating passwords seamlessly, ensuring sensitive data remains protected.
Remove Password Protection
Effortlessly remove passwords from protected documents, simplifying access for authorized users while maintaining document integrity.
Comprehensive Document Security
Manage and protect your documents with features designed to add, update, or remove security settings, ensuring that your content remains secure at all times.
Page-Level Manipulation
Precise Page Rotation
Rotate pages within your document to 90, 180, or 270 degrees, ensuring that every page is presented exactly as needed.
Page Removal and Extraction
Remove unwanted pages or extract specific pages from your document, streamlining content to meet specific needs and reducing unnecessary bulk.
Cross-Format Merging and Embedding
Merge documents to PDF
Combine and merge documents to PDF even different types of files such as DOCX, PPTX, or XLSX, etc.
Cross-format merging to DOC/DOCX
Merge documents to DOC/DOCX, i.e. multiple documents of various file types such as PDF, DOC or DOCX into a single DOC or DOCX document.
Merge images to PDF
GroupDocs.Merger for .NET allows developers to merge images to PDF or combine multiple image documents in the preferred order and save them as a single PDF file.
OLE Document Embedding
Embed documents within other documents (e.g., Word, Excel, PDF into PowerPoint or Diagram) using OLE technology, enhancing presentations and diagrams with rich, integrated content.
Platform Independence and Performance
Cross-Platform Flexibility
Deploy GroupDocs.Merger across multiple operating systems (Windows, Linux, Mac OS) and develop applications in .NET environments like ASP.NET, WCF, and WinForms, ensuring broad compatibility.
Optimized for High Performance
Handle thousands of files efficiently with a solution designed for high performance, tested to ensure minimal resource usage and maximum processing speed.
No External Dependencies
Operate independently of third-party software like Microsoft Office, reducing costs and simplifying deployment with a fully self-contained document processing solution.
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:
External Dependencies | GroupDocs.Merger for .NET does not require any external software or third-party tool to be installed. |
Operating System Support | GroupDocs.Merger for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. |
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.Merger for .NET supports .NET and Mono frameworks. |
Integration and Support Resources
Extensive Code Samples and Documentation
Access comprehensive code examples and detailed documentation on GitHub, allowing developers to quickly implement and customize features.
Unlimited Technical Support
Benefit from unlimited technical support, with both free and paid options available, ensuring that any issues are resolved quickly and efficiently.
Free Online Tools and Apps
Try out GroupDocs.Merger features with free online apps for document merging, allowing potential users to experience the power and ease of the tool before integrating it into their workflow.
Supported Document Types
GroupDocs.Merger for .NET supports the following file formats: Supported Document Types
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.
Merging DOCX documents
This example demonstrates how to merge two DOCX documents into a single file using GroupDocs.Merger.
string filePath1 = @"c:\sample1.docx";
string filePath2 = @"c:\sample2.docx";
string filePathOut = @"c:\output\merged.docx";
using (Merger merger = new Merger(filePath1))
{
merger.Join(filePath2);
merger.Save(filePathOut);
}
Cross-merging images to PDF
GroupDocs.Merger allows developers to combine multiple image documents in the preferred order and save them as a single PDF file.
// Load the source image file
using (Merger merger = new Merger(@"c:\sample1.jpeg", new LoadOptions(FileType.PDF)))
{
// Add another image file to merge
merger.Join(@"c:\sample2.png");
// Add next image file to merge
merger.Join(@"c:\sample3.bmp");
// Merge image files and save PDF result
merger.Save(@"c:\merged.pdf");
}
Splitting DOCX document
This code shows how to split the document to several one-page documents (by start/end page numbers).
string filePath = @"c:\sample.docx";
string filePathOut = @"c:\output\document_{0}.{1}";
SplitOptions splitOptions = new SplitOptions(filePathOut, 3, 7);
using (Merger merger = new Merger(filePath))
{
merger.Split(splitOptions);
}
Swapping pages in a PPTX document
This code snippet shows how to swap two pages within a PPTX document, demonstrating the flexibility of GroupDocs.Merger in managing page layouts.
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);
}
Cross-merging various document streams to PDF
There may also be situations when it is necessary to combine different types of streams into PDF. In this case, you can use the example below:
string filePath1 = "c:/sample1.docx";
string filePath2 = "c:/sample2.pptx";
MemoryStream memoryStream1 = new MemoryStream();
using (FileStream fileStream1 = File.OpenRead(filePath1))
{
fileStream1.CopyTo(memoryStream1);
}
MemoryStream memoryStream2 = new MemoryStream();
using (FileStream fileStream2 = File.OpenRead(filePath2))
{
fileStream2.CopyTo(memoryStream2);
}
// Init Load options with defined FileTypes
LoadOptions loadOptions = new LoadOptions(FileType.DOCX, FileType.PDF);
// Load the source DOCX stream as PDF
using (Merger merger = new Merger(memoryStream1, loadOptions))
{
// Define join options with PPTX file type
JoinOptions joinOptions = new JoinOptions(FileType.PPTX);
// Add another PPTX stream to merge
merger.Join(memoryStream2, joinOptions);
// Merge document streams and save PDF result
merger.Save(@"c:\merged.pdf");
}
Tags
Merge PDF
| Merge DOCX
| Merge PPTX
| Split PDF
| Split DOCX
| Split PPTX
| Combine PDF
| Combine DOCX
| Combine PPTX
| Join PDF
| Join DOCX
| Join PPTX
| Swap Pages
| Add Password
| Update Password
| Remove Password
| JPG to JPEG
| DOCX to PDF
| Cross Format Merging
| OLE Embedding
| Extract Pages
| Image to PDF
| Remove Pages
| Rotate Pages
| Page Builder
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.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
- Aspose.Drawing (>= 24.2.0)
- Aspose.Drawing.Common (>= 24.2.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.6)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.6)
- 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 (>= 5.0.1)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
GitHub repositories
This package is not used by any popular GitHub repositories.