GroupDocs.Merger-Cloud
24.7.0
dotnet add package GroupDocs.Merger-Cloud --version 24.7.0
NuGet\Install-Package GroupDocs.Merger-Cloud -Version 24.7.0
<PackageReference Include="GroupDocs.Merger-Cloud" Version="24.7.0" />
paket add GroupDocs.Merger-Cloud --version 24.7.0
#r "nuget: GroupDocs.Merger-Cloud, 24.7.0"
// Install GroupDocs.Merger-Cloud as a Cake Addin #addin nuget:?package=GroupDocs.Merger-Cloud&version=24.7.0 // Install GroupDocs.Merger-Cloud as a Cake Tool #tool nuget:?package=GroupDocs.Merger-Cloud&version=24.7.0
Merge Documents & Pages .NET Cloud REST API
GroupDocs.Merger Cloud API empowers developers to integrate advanced document merging and page manipulation functionalities into their C#, ASP.NET, and other .NET applications. Supporting over 40 file formats, this REST API allows seamless merging, splitting, and reorganization of document pages, including PDFs, Word documents, Excel spreadsheets, and more. Security features include password protection for documents, while additional file and folder operations streamline cloud storage management. Whether working with cross-format documents or performing complex page manipulations, GroupDocs.Merger delivers robust tools for secure and efficient document handling across web, desktop, and mobile platforms.
Merge Documents
Merge two or more documents
- Combine multiple documents into a single file.
Merge specific pages
- Merge only specific pages from different documents into one.
Join page ranges
- Combine selected page ranges from multiple documents into a single document.
Splitting and Page Manipulation
Split documents
- Split a source document into multiple separate files.
Move pages
- Move document pages within a file.
Rotate pages
- Rotate document pages to adjust their orientation.
Remove pages
- Remove unwanted pages from a document.
Swap pages
- Swap the position of pages within a document.
Extract pages
- Extract specific pages from a document into a new file.
Security and Document Protection
Set document password
- Secure documents by setting a password.
Remove document password
- Remove existing passwords from protected documents.
File Operations
Upload Files to Cloud
- Upload files to cloud storage via the API.
Download Files from Cloud
- Download files from cloud storage to local systems.
Copy Files
- Copy files within the cloud storage to different locations.
Move Files
- Move files between different folders or locations within the cloud storage.
Delete Files
- Delete specific files from cloud storage.
Folder Operations
Create Folder
- Create new folders in the cloud storage.
Copy Folder
- Duplicate folders within the cloud storage.
Move Folder
- Move folders between different directories in cloud storage.
Delete Folder
- Remove entire folders from cloud storage.
Supported Document Formats
Format | Description | Join | Split | Trim | Move Page | Remove Pages | Swap Pages | Change Page Orientation | Rotate Pages | 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 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |||
Portable Document Format File | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
XPS | XML Paper Specification File | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
TEX | LaTeX Source Document | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
EPUB | Open eBook 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 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
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 | ✔️ | ✔️ |
Quick Start
1. Create an Account
Sign up for a free account at GroupDocs Cloud Dashboard.
2. Get API Credentials
Create or use an existing API client app to get your Client ID and Client Secret from the Dashboard.
3. Install the SDK
Install the SDK for your platform to streamline development. Run the following command in Visual Studio:
- To install the SDK:
Install-Package GroupDocs.Merger-Cloud
- To upgrade the SDK:
Update-Package GroupDocs.Merger-Cloud
4. Make an API Request
Use your Client ID and Client Secret to interact with GroupDocs.Merger Cloud. Below is an example demonstrating how to get a list of supported file formats:
var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new InfoApi(configuration);
var response = apiInstance.GetSupportedFileFormats();
Merge Multiple Word Documents into One Using Cloud API
Learn how to merge multiple Word documents (DOCX, DOC) into a single document using GroupDocs.Merger Cloud API in C#. This example demonstrates merging different Word files seamlessly with a few lines of code.
// Initialize GroupDocs.Merger Cloud API
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;
namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
// Merge Multiple Word Documents
class Merge_Word_Documents
{
public static void Run()
{
// Create configuration with your Client ID and Client Secret
var configuration = new Configuration("YourClientID", "YourClientSecret");
// Initialize the Merger API instance
var apiInstance = new MergerApi(configuration);
// Create a new merge request for two DOCX files
var request = new JoinRequest(new JoinOptions()
{
FileInfo = new FileInfo() { FilePath = "Word/document1.docx" }, // First file
JoinItems = new List<JoinItem>() {
new JoinItem() { FileInfo = new FileInfo() { FilePath = "Word/document2.docx" } }, // Second file
},
OutputPath = "MergedOutput/output.docx" // Output path
});
// Call the API to merge the documents
apiInstance.Join(request);
Console.WriteLine("Documents merged successfully.");
}
}
}
Merge Specific Pages from PDF Documents
This example demonstrates how to merge specific pages from multiple PDF documents into a single PDF file using GroupDocs.Merger Cloud API in C#. Customize the pages to be merged for more flexible document processing.
// Initialize GroupDocs.Merger Cloud API for PDF merging
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;
namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
// Merge Specific Pages from PDF Documents
class Merge_PDF_Pages
{
public static void Run()
{
// Create configuration with your Client ID and Client Secret
var configuration = new Configuration("YourClientID", "YourClientSecret");
// Initialize the Merger API instance
var apiInstance = new MergerApi(configuration);
// Create a new merge request for specific pages from two PDF files
var request = new JoinRequest(new JoinOptions()
{
FileInfo = new FileInfo() { FilePath = "PDF/document1.pdf" }, // First file
JoinItems = new List<JoinItem>() {
new JoinItem() { FileInfo = new FileInfo() { FilePath = "PDF/document2.pdf" }, Pages = new List<int> { 1, 3, 5 } }, // Select specific pages
},
OutputPath = "MergedOutput/merged.pdf" // Output path
});
// Call the API to merge the selected pages
apiInstance.Join(request);
Console.WriteLine("Specific pages merged successfully.");
}
}
}
Merge Documents Across Formats (DOCX, PDF) into PDF
Learn how to merge documents of different formats (e.g., Word DOCX and PDF) into a single PDF document using GroupDocs.Merger Cloud API in C#. This process supports cross-format document merging.
// Initialize GroupDocs.Merger Cloud API for merging across formats
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using System;
namespace GroupDocs.Merger.Cloud.Examples.CSharp
{
// Merge Different Formats (DOCX, PDF) into PDF
class Merge_Cross_Format_Documents
{
public static void Run()
{
// Create configuration with your Client ID and Client Secret
var configuration = new Configuration("YourClientID", "YourClientSecret");
// Initialize the Merger API instance
var apiInstance = new MergerApi(configuration);
// Create a new merge request for a DOCX and PDF file
var request = new JoinRequest(new JoinOptions()
{
FileInfo = new FileInfo() { FilePath = "Word/document1.docx" }, // First file
JoinItems = new List<JoinItem>() {
new JoinItem() { FileInfo = new FileInfo() { FilePath = "PDF/document2.pdf" } }, // Second file
},
OutputPath = "MergedOutput/merged_output.pdf" // Output path
});
// Call the API to merge the documents into a PDF
apiInstance.Join(request);
Console.WriteLine("Documents merged into PDF successfully.");
}
}
}
Tags
Document Merging API
| .NET Cloud API
| GroupDocs.Merger Cloud
| REST API
| Page Manipulation
| Document Security
| Password Protection
| Cloud Storage Integration
| File Operations
| Folder Operations
| Document Splitting
| PDF Merging
| Cross-format Merging
| Word Document Merging
| Excel File Merging
| Presentation Merging
| Document Reorganization
| API Explorer
| Comprehensive Documentation
| Multi-Platform Support
| Secure API Access
| GitHub Repository
| Data Encryption
| Client ID and Secret
| Scalable Infrastructure
| Fast Processing
| Document Joining
| Content Management
| Customizable Document Processing
| Document Manipulation API
| Real-time API Integration
| Merge Multiple Formats
| Portable Document Format
| OpenDocument Formats
| Cross-platform API
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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. 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 | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.1)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Net.Requests (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.