GroupDocs.Merger.CrossPlatform 24.11.0

dotnet add package GroupDocs.Merger.CrossPlatform --version 24.11.0                
NuGet\Install-Package GroupDocs.Merger.CrossPlatform -Version 24.11.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Merger.CrossPlatform" Version="24.11.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Merger.CrossPlatform --version 24.11.0                
#r "nuget: GroupDocs.Merger.CrossPlatform, 24.11.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Merger.CrossPlatform as a Cake Addin
#addin nuget:?package=GroupDocs.Merger.CrossPlatform&version=24.11.0

// Install GroupDocs.Merger.CrossPlatform as a Cake Tool
#tool nuget:?package=GroupDocs.Merger.CrossPlatform&version=24.11.0                

Document Merger .NET API

Version 24.11.0 NuGet

banner


Docs Reference Examples Blog Releases Support 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.

Content


Top

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 Image to PDF/JPEG

Convert and merge multiple images into a single PDF or JPEG document, maintaining high-quality output with customizable compression levels for optimal storage and display.

Merge XLSX Files

Allows developers to merge XLSX files without third-party software, preserving all content.

Top

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.

Top

Page-Level Manipulation

Dynamic Page Reordering

Reorder pages within your documents to create a customized sequence, perfect for organizing presentations, reports, or any multi-page document.

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.

Top

Cross-Format Merging and Embedding

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.

Seamless Cross-Format Merging

Merge different document formats into a single, unified document, perfect for consolidating content from various sources into one accessible file.

Top

Document Conversion

HTML to Document Conversion

Merge and convert multiple HTML pages into a single document, preserving all web content, including text, images, and forms, ideal for archiving web pages or creating eBooks.

Image to PDF/JPEG Conversion

Convert and merge various image files into a high-quality PDF or JPEG document, maintaining image fidelity while enabling easier distribution and printing.

Top

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.

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.

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.

Top

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.

Top

Specialized Document Processing

Batch Document Processing

Perform batch operations like merging or splitting multiple documents at once, increasing productivity and efficiency in handling large volumes of files.

Document Metadata Management

Extract, edit, or remove metadata from documents, ensuring that sensitive information is managed or cleaned as needed before sharing or archiving.

Top

Supported Audio Types

The following table indicates the file formats that GroupDocs.Merger can work with.

Format Description Join Split Cross-format audio merging
WAV WAV Audio File ✔️
MP3 MP3 Audio File ✔️

Top

Supported Archive Types

The following table indicates the file formats that GroupDocs.Merger can work with.

Format Description Join Split Cross-format archive merging
ZIP ZIP Archive File ✔️ ✔️
TAR TAR Archive File ✔️ ✔️
RAR RAR Archive File ✔️
7Z 7Z Archive File ✔️ ✔️
GZ GZ Archive File
BZ2 BZ2 Archive File

Top

Supported cross-merging Document Types

The following table indicates the file formats that GroupDocs.Merger can work with.

Format Description Cross-format merge inside family Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
DOC Microsoft Word Document ✔️ ✔️ ✔️
DOCX Microsoft Word Open XML Document ✔️ ✔️ ✔️
DOCM Word Open XML Macro-Enabled Document ✔️ ✔️
DOT Word Document Template ✔️ ✔️
DOTX Word Open XML Document Template ✔️ ✔️
DOTM Word Open XML Macro-Enabled Document Template ✔️ ✔️
RTF Rich Text Format File ✔️ ✔️
ODT OpenDocument Text Document ✔️ ✔️
OTT OpenDocument Document Template ✔️ ✔️
HTML Hypertext Markup Language File ✔️
MHT MHTML Web Archive
MHTML MIME HTML
PDF Portable Document Format File ✔️ ✔️
XPS XML Paper Specification File ✔️ ✔️
TEX LaTeX Source Document ✔️ ✔️
EPUB Open eBook File ✔️ ✔️
PS PostScript File
PPT Microsoft PowerPoint 97-2003 Presentation ✔️ ✔️
PPTX Microsoft PowerPoint Presentation ✔️ ✔️
PPS Microsoft PowerPoint 97-2003 Slide Show ✔️ ✔️
PPSX Microsoft PowerPoint Slide Show ✔️ ✔️
ODP OpenDocument Presentation ✔️ ✔️
OTP OpenDocument Presentation Template ✔️ ✔️
XLS Microsoft Excel 97-2003 Worksheet ✔️ ✔️
XLSX Microsoft Excel Worksheet ✔️ ✔️
XLSB Microsoft Excel Binary Worksheet ✔️ ✔️
XLSM Microsoft Excel Macro-Enabled Worksheet ✔️ ✔️
XLT Microsoft Excel Template File ✔️ ✔️
XLTX Excel Open XML Spreadsheet Template ✔️ ✔️
XLTM Excel Open XML Macro-Enabled Spreadsheet Template ✔️ ✔️
XLAM Excel Open XML Macro-Enabled Add-in ✔️ ✔️
ODS OpenDocument Spreadsheet ✔️ ✔️
VSDX Microsoft Visio Drawing ✔️
VSDM Microsoft Visio Macro-Enabled Drawing ✔️
VSSX Microsoft Visio Stencil ✔️
VSSM Microsoft Visio Macro-Enabled Stencil ✔️
VSTX Microsoft Visio Template ✔️
VSTM Microsoft Visio Macro-Enabled Template ✔️
VDX Microsoft Visio 2003-2010 XML Drawing ✔️
VSX Microsoft Visio 2003-2010 XML Stencil ✔️
VTX Microsoft Visio 2003-2010 XML Template ✔️
ONE Microsoft OneNote
TXT Plain Text File ✔️
ERR Error Log File ✔️
CSV Comma Separated Values File ✔️
TSV Tab Separated Values File ✔️
JPG JPG Image File ✔️ ✔️
JPEG JPEG Image File ✔️ ✔️
BMP Bitmap Image File ✔️ ✔️
PNG Portable Network Graphics ✔️ ✔️
GIF Graphical Interchange Format ✔️ ✔️
TIF Tagged Image Format ✔️
TIFF Tagged Image File Format ✔️
SVG Scalar Vector Graphics ✔️ ✔️
SVGZ Compressed Scalar Vector Graphics ✔️ ✔️
ZIP ZIP Archive File ✔️
TAR TAR Archive File ✔️
RAR RAR Archive File
7Z 7Z Archive File ✔️
GZ GZ Archive File
BZ2 BZ2 Archive File

Top

Supported Image Types

The following table indicates the file formats that GroupDocs.Merger can work with.

Format Description Join Split Extract pages Cross-format image merging Cross-format merge to PDF
JPG JPG Image File ✔️ ✔️ ✔️
JPEG JPEG Image File ✔️ ✔️ ✔️
BMP Bitmap Image File ✔️ ✔️ ✔️
PNG Portable Network Graphics ✔️ ✔️ ✔️
GIF Graphical Interchange Format ✔️ ✔️ ✔️
TIF Tagged Image Format ✔️ ✔️ ✔️ ✔️
TIFF Tagged Image File Format ✔️ ✔️ ✔️ ✔️
SVG Scalar Vector Graphics ✔️ ✔️ ✔️
SVGZ Compressed Scalar Vector Graphics ✔️ ✔️ ✔️
EMF Windows Enhanced Metafile ✔️ ✔️ ✔️
EMZ Windows Compressed Enhanced Metafile ✔️ ✔️ ✔️

Top

Supported Document Types

Top

Word Document Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
DOC Microsoft Word Document ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
DOCX Microsoft Word Open XML Document ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
DOCM Word Open XML Macro-Enabled Document ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
DOT Word Document Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
DOTX Word Open XML Document Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
DOTM Word Open XML Macro-Enabled Document Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Rich Text and OpenDocument Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
RTF Rich Text Format File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
ODT OpenDocument Text Document ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
OTT OpenDocument Document Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Web and PDF Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
HTML Hypertext Markup Language File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MHT MHTML Web Archive ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MHTML MIME HTML ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PDF Portable Document Format File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XPS XML Paper Specification File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Presentation Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
PPT Microsoft PowerPoint 97-2003 Presentation ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PPTX Microsoft PowerPoint Presentation ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PPS Microsoft PowerPoint 97-2003 Slide Show ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PPSX Microsoft PowerPoint Slide Show ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PPTM Microsoft PowerPoint Macro-Enabled Presentation ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Spreadsheet Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
XLS Microsoft Excel 97-2003 Worksheet ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLSX Microsoft Excel Worksheet ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLSB Microsoft Excel Binary Worksheet ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLSM Microsoft Excel Macro-Enabled Worksheet ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLT Microsoft Excel Template File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLTX Excel Open XML Spreadsheet Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLTM Excel Open XML Macro-Enabled Spreadsheet Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
XLAM Excel Open XML Macro-Enabled Add-in ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
ODS OpenDocument Spreadsheet ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Visio® Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
VSDX Microsoft Visio Drawing ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSDM Microsoft Visio Macro-Enabled Drawing ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSSX Microsoft Visio Stencil ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSSM Microsoft Visio Macro-Enabled Stencil ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSTX Microsoft Visio Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSTM Microsoft Visio Macro-Enabled Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VDX Microsoft Visio 2003-2010 XML Drawing ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VSX Microsoft Visio 2003-2010 XML Stencil ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
VTX Microsoft Visio 2003-2010 XML Template ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

Miscellaneous Formats

Format Description Password protection Join Split Extract pages Move page Remove pages Swap pages Change page orientation Rotate pages Import document Cross-format merge to PDF / XPS Cross-format merge to DOC / DOCX
ONE Microsoft OneNote ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
TXT Plain Text File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
ERR Error Log File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
CSV Comma Separated Values File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
TSV Tab Separated Values File ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Top

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:

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.

Top

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.

Top

Merging DOCX Documents

This code 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);
}

Top

Swapping Pages in a PDF Document

This code snippet shows how to swap two pages within a PDF document, demonstrating the flexibility of GroupDocs.Merger in managing page layouts.

string filePath = @"c:\sample.pdf";
string filePathOut = @"c:\output\swapped.pdf";
int pageNumber1 = 2;
int pageNumber2 = 5;

using (Merger merger = new Merger(filePath))
{
    merger.SwapPages(pageNumber1, pageNumber2);
    merger.Save(filePathOut);
}

Top

Reordering Pages in a PPTX Presentation

This example illustrates how to reorder pages in a PowerPoint® presentation by specifying a custom page order.

string filePath = @"c:\sample.pptx";
string filePathOut = @"c:\output\reordered.pptx";
int[] pageOrder = { 3, 1, 2 }; // New order for pages

using (Merger merger = new Merger(filePath))
{
    merger.ReorderPages(pageOrder);
    merger.Save(filePathOut);
}

Docs Reference Examples Blog Releases Support License


Top

Tags

Document Merging | Document Splitting | Merge PDF | Merge DOCX | Merge XLSX | Page Reordering | Page Swapping | Document Security | Password Management | Remove Password | Cross Platform | Batch Processing | Document Conversion | PDF to JPEG | HTML to PDF | Cross Format Merging | OLE Embedding | Document Manipulation | Image to PDF | High Performance | DotNet | API | Page Rotation | Xamarin | Mono | Document Management

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
24.11.0 89 11/19/2024
24.10.0 432 10/15/2024
24.9.0 609 9/17/2024
24.8.0 650 8/27/2024
24.7.0 378 7/15/2024
24.6.1 1,531 6/25/2024