GroupDocs.Merger
20.2.0
See the version list below for details.
Install-Package GroupDocs.Merger -Version 20.2.0
dotnet add package GroupDocs.Merger --version 20.2.0
<PackageReference Include="GroupDocs.Merger" Version="20.2.0" />
paket add GroupDocs.Merger --version 20.2.0
#r "nuget: GroupDocs.Merger, 20.2.0"
// Install GroupDocs.Merger as a Cake Addin
#addin nuget:?package=GroupDocs.Merger&version=20.2.0
// Install GroupDocs.Merger as a Cake Tool
#tool nuget:?package=GroupDocs.Merger&version=20.2.0
Document Merger .NET API
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 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 document to 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 document.
- Remove several pages from a document based on page number.
- Rotate page to an angle of 90, 180 or 270 degrees.
- Swap position of two pages within a document.
- Extract 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 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.
New Features in Version 20.2.0
- Added support for the MHTML file format.
For the detailed list, please visit GroupDocs.Merger for .NET 20.2 Release Notes.
Join & Split 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 Portable: PDF, XPS Text: TXT Other: TEX, EPUB, CSV, TSV
Rotate Pages File Formats
Portable: PDF, XPS Other: TEX, EPUB
Other Supported File Formats
GroupDocs.Merger for .NET supports the following file formats to trim page, move/remove page, swap page and change page orientation operations: 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 Text: TXT Other: TEX, EPUB
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.
Getting Started with GroupDocs.Merger for .NET
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.
Use C# to Join Specific Pages from Various Documents
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 a Document 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 | Documentation | API Reference | Code Samples | Blog | Free Support | Temporary License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 2.0
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Mono.Posix.NETStandard (>= 1.0.0)
- SkiaSharp (>= 1.68.0)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 4.7.0)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GroupDocs.Merger:
Package | Downloads |
---|---|
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
22.5.0 | 270 | 5/18/2022 |
22.4.0 | 1,070 | 4/25/2022 |
22.1.0 | 1,942 | 1/6/2022 |
21.8.0 | 2,835 | 8/19/2021 |
21.7.0 | 1,008 | 7/27/2021 |
21.6.0 | 990 | 6/23/2021 |
21.5.0 | 1,134 | 5/26/2021 |
21.3.0 | 2,150 | 3/29/2021 |
21.2.0 | 1,706 | 2/24/2021 |
20.12.0 | 3,060 | 12/22/2020 |
20.11.0 | 419 | 11/24/2020 |
20.10.0 | 1,672 | 10/28/2020 |
20.9.0 | 1,180 | 9/16/2020 |
20.8.0 | 1,642 | 8/20/2020 |
20.7.0 | 1,136 | 7/27/2020 |
20.5.0 | 2,733 | 5/26/2020 |
20.4.0 | 1,713 | 4/22/2020 |
20.2.0 | 2,981 | 2/25/2020 |
20.1.0 | 522 | 1/28/2020 |
19.12.0 | 1,151 | 12/20/2019 |
19.11.0 | 1,081 | 11/12/2019 |
19.10.0 | 498 | 10/29/2019 |
19.9.0 | 385 | 9/26/2019 |
19.7.0 | 738 | 7/8/2019 |
19.6.0 | 448 | 6/7/2019 |
19.5.0 | 405 | 5/24/2019 |
19.4.0 | 484 | 4/9/2019 |
19.3.0 | 431 | 3/22/2019 |
19.2.0 | 411 | 2/25/2019 |
19.1.0 | 495 | 1/28/2019 |
18.11.0 | 538 | 11/21/2018 |
18.9.0 | 703 | 9/4/2018 |
18.7.0 | 679 | 7/5/2018 |
18.5.0 | 739 | 5/31/2018 |