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.

Instalação
O pacote está disponível em nuget.org e pode ser instalado pelo Console do Gerenciador de Pacotes com o seguinte comando:
NuGet\Install-Package GroupDocs.Merger-Cloud

Requisitos
- .NET Framework 2.0 ou .NET Standard 2.0
- NuGet
- System.Web ao direcionar para o .NET Framework 2.0
- Credenciais do GroupDocs Cloud — Client ID and Client Secret do painel
Início rápido
Obter as credenciais de API
Para usar o GroupDocs.Merger Cloud, inscreva-se no painel do GroupDocs.Cloud e obtenha o Client ID e o Client Secret.
Inicializar a API
Use o código a seguir para começar a usar o GroupDocs.Merger Cloud SDK for .NET.
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);
Veja o exemplo completo em Common.cs.
Unir documentos
Este exemplo une dois documentos do Word em um arquivo.
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);
Veja o exemplo completo em JoinMultipleDocuments.cs.
Dividir um documento
Este exemplo divide as páginas 3, 6 e 8 em documentos separados.
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);
}
Veja o exemplo completo em SplitToSinglePages.cs.
Girar páginas
Este exemplo gira as páginas 2 e 4 em 90 graus.
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);
Veja o exemplo completo em RotatePages.cs.
Obter os tipos de arquivo compatíveis
Recupere os formatos aceitos pela API merger.
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)}");
}
Veja o exemplo completo em GetSupportedFileTypes.cs.
Exemplos no GitHub
O repositório GroupDocs.Merger Cloud .NET Examples inclui exemplos prontos para executar sobre:
| Category | Examples |
|---|
| Unir | Vários documentos, imagens, entre formatos, páginas selecionadas |
| Dividir | Páginas individuais, intervalos de páginas |
| Páginas | Girar, mover, trocar, remover, extrair, alterar a orientação |
| Segurança | Adicionar, verificar, atualizar e remover uma senha de documento |
| Info | Informações do documento, tipos de arquivo compatíveis |
Como executar os exemplos
- Clone ou baixe o repositório de exemplos
- Abra
Examples/GroupDocs.Merger.Cloud.Examples.CSharp.sln no Visual Studio 2017 ou posterior - Clique com o botão direito do mouse na solução e selecione Enable NuGet Package Restore
- Edite
Examples/GroupDocs.Merger.Cloud.Examples.CSharp/RunExamples.cs e defina Common.ClientId e Common.ClientSecret - Compile e execute
Para mais detalhes, visite Getting Started.

Marcas
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