If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Installation
Das Paket ist verfügbar auf nuget.org und kann über die Paketmanager-Konsole mit dem folgenden Befehl installiert werden:
NuGet\Install-Package GroupDocs.Merger-Cloud

Anforderungen
- .NET Framework 2.0 oder .NET Standard 2.0
- NuGet
- System.Web bei Zielplattform .NET Framework 2.0
- GroupDocs Cloud-Anmeldeinformationen — Client ID and Client Secret aus dem Dashboard
Schnellstart
Um GroupDocs.Merger Cloud zu verwenden, registrieren Sie sich im GroupDocs.Cloud-Dashboard und rufen Sie Client ID und Client Secret ab.
API initialisieren
Verwenden Sie den folgenden Code, um das GroupDocs.Merger Cloud SDK for .NET zu verwenden.
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
string MyClientId = "YourClientId";
string MyClientSecret = "YourClientSecret";
var config = new Configuration(MyClientId, MyClientSecret);
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new DocumentApi(config);
Das vollständige Beispiel finden Sie in Common.cs.
Dokumente zusammenfügen
Dieses Beispiel fügt zwei Word-Dokumente zu einer Datei zusammen.
using System.Collections.Generic;
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using FileInfo = GroupDocs.Merger.Cloud.Sdk.Model.FileInfo;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new DocumentApi(config);
var options = new JoinOptions
{
JoinItems = new List<JoinItem>
{
new JoinItem { FileInfo = new FileInfo { FilePath = "WordProcessing/four-pages.docx" } },
new JoinItem { FileInfo = new FileInfo { FilePath = "WordProcessing/one-page.docx" } }
},
OutputPath = "Output/joined.docx"
};
var response = apiInstance.Join(new JoinRequest(options));
Console.WriteLine("Output file path: " + response.Path);
Das vollständige Beispiel finden Sie in JoinMultipleDocuments.cs.
Dokument teilen
Dieses Beispiel teilt die Seiten 3, 6 und 8 in eigene Dokumente.
using System.Collections.Generic;
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using FileInfo = GroupDocs.Merger.Cloud.Sdk.Model.FileInfo;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new DocumentApi(config);
var options = new SplitOptions
{
FileInfo = new FileInfo { FilePath = "WordProcessing/sample-10-pages.docx" },
OutputPath = "Output/split-document",
Pages = new List<int?> { 3, 6, 8 },
Mode = SplitOptions.ModeEnum.Pages
};
var response = apiInstance.Split(new SplitRequest(options));
foreach (var document in response.Documents)
{
Console.WriteLine("Output file path: " + document.Path);
}
Das vollständige Beispiel finden Sie in SplitToSinglePages.cs.
Seiten drehen
Dieses Beispiel dreht die Seiten 2 und 4 um 90 Grad.
using System.Collections.Generic;
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
using GroupDocs.Merger.Cloud.Sdk.Model;
using GroupDocs.Merger.Cloud.Sdk.Model.Requests;
using FileInfo = GroupDocs.Merger.Cloud.Sdk.Model.FileInfo;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new PagesApi(config);
var options = new RotateOptions
{
FileInfo = new FileInfo { FilePath = "Pdf/ten-pages.pdf" },
OutputPath = "Output/rotate-pages.pdf",
Pages = new List<int?> { 2, 4 },
Mode = RotateOptions.ModeEnum.Rotate90
};
var response = apiInstance.Rotate(new RotateRequest(options));
Console.WriteLine("Output file path: " + response.Path);
Das vollständige Beispiel finden Sie in RotatePages.cs.
Unterstützte Dateitypen abrufen
Rufen Sie die Formate ab, die die merger-API akzeptiert.
using GroupDocs.Merger.Cloud.Sdk.Api;
using GroupDocs.Merger.Cloud.Sdk.Client;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new InfoApi(config);
var response = apiInstance.GetSupportedFileFormats();
foreach (var entry in response.Formats)
{
Console.WriteLine($"{entry.FileFormat}: {string.Join(",", entry.Extension)}");
}
Das vollständige Beispiel finden Sie in GetSupportedFileTypes.cs.
Beispiele auf GitHub
Das Repository GroupDocs.Merger Cloud .NET Examples enthält sofort ausführbare Beispiele zu folgenden Themen:
| Category | Examples |
|---|
| Zusammenfügen | Mehrere Dokumente, Bilder, formatübergreifend, ausgewählte Seiten |
| Teilen | Einzelne Seiten, Seitenbereiche |
| Seiten | Drehen, verschieben, tauschen, entfernen, extrahieren, Ausrichtung ändern |
| Sicherheit | Dokumentkennwort hinzufügen, prüfen, aktualisieren und entfernen |
| Info | Dokumentinformationen, unterstützte Dateitypen |
Beispiele ausführen
- Klonen oder laden Sie das Beispiel-Repository herunter
- Öffnen Sie
Examples/GroupDocs.Merger.Cloud.Examples.CSharp.sln in Visual Studio 2017 oder höher - Klicken Sie mit der rechten Maustaste auf die Projektmappe und wählen Sie Enable NuGet Package Restore
- Bearbeiten Sie
Examples/GroupDocs.Merger.Cloud.Examples.CSharp/RunExamples.cs und legen Sie Common.ClientId und Common.ClientSecret fest - Erstellen und ausführen
Weitere Informationen finden Sie unter Getting Started.

Schlagwörter
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