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
Le package est disponible sur nuget.org et peut être installé via la console du Gestionnaire de package avec la commande suivante :
NuGet\Install-Package GroupDocs.signature-Cloud

Configuration requise
- .NET Framework 2.0 ou .NET Standard 2.0
- NuGet
- System.Web lors du ciblage de .NET Framework 2.0
- Informations d’identification GroupDocs Cloud — Client ID and Client Secret du tableau de bord
Démarrage rapide
Obtenir vos identifiants d’API
Pour utiliser GroupDocs.Signature Cloud, inscrivez-vous sur le tableau de bord GroupDocs.Cloud et obtenez le Client ID et le Client Secret.
Initialiser l’API
Utilisez le code suivant pour commencer à utiliser GroupDocs.Signature Cloud SDK for .NET.
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.Cloud.Sdk.Client;
string MyClientId = "YourClientId";
string MyClientSecret = "YourClientSecret";
var config = new Configuration(MyClientId, MyClientSecret);
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new SignApi(config);
Consultez l’exemple complet dans Constants.cs.
Signer un document avec du texte
Cet exemple place une signature textuelle sur la première page d’un document Word.
using System.Collections.Generic;
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.Cloud.Sdk.Client;
using GroupDocs.Signature.Cloud.Sdk.Model;
using GroupDocs.Signature.Cloud.Sdk.Model.Requests;
using static GroupDocs.Signature.Cloud.Sdk.Model.OptionsBase;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new SignApi(config);
var options = new SignTextOptions
{
SignatureType = SignatureTypeEnum.Text,
Text = "GroupDocs.Signature Cloud",
Left = 100,
Top = 100,
Width = 100,
Height = 100,
Page = 1
};
var signSettings = new SignSettings
{
FileInfo = new FileInfo { FilePath = "one-page.docx" },
SaveOptions = new SaveOptions { OutputFilePath = "signedText_one-page.docx", SaveFormat = "docx" },
Options = new List<SignOptions> { options }
};
var response = apiInstance.CreateSignatures(new CreateSignaturesRequest(signSettings));
Console.WriteLine("Expected response type is SignResult: DownloadUrl=" + response.DownloadUrl);
Consultez l’exemple complet dans TextSignature.cs.
Vérifier une signature textuelle
Cet exemple vérifie que le document signé contient la signature textuelle.
using System.Collections.Generic;
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.Cloud.Sdk.Client;
using GroupDocs.Signature.Cloud.Sdk.Model;
using GroupDocs.Signature.Cloud.Sdk.Model.Requests;
using static GroupDocs.Signature.Cloud.Sdk.Model.OptionsBase;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new SignApi(config);
var options = new VerifyTextOptions
{
SignatureType = SignatureTypeEnum.Text,
MatchType = VerifyTextOptions.MatchTypeEnum.Contains,
Text = "GroupDocs.Signature Cloud",
Page = 1
};
var verifySettings = new VerifySettings
{
FileInfo = new FileInfo { FilePath = "signedText_one-page.docx" },
Options = new List<VerifyOptions> { options }
};
var response = apiInstance.VerifySignatures(new VerifySignaturesRequest(verifySettings));
Console.WriteLine("Expected response type is VerifyResult: IsSuccess = " + (response.IsSuccess != null && response.IsSuccess.Value));
Consultez l’exemple complet dans VerifyText.cs.
Rechercher une signature de code QR
Cet exemple recherche un code QR Aztec dans un document.
using System.Collections.Generic;
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.Cloud.Sdk.Client;
using GroupDocs.Signature.Cloud.Sdk.Model;
using GroupDocs.Signature.Cloud.Sdk.Model.Requests;
using static GroupDocs.Signature.Cloud.Sdk.Model.OptionsBase;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new SignApi(config);
var options = new SearchQRCodeOptions
{
SignatureType = SignatureTypeEnum.QRCode,
MatchType = SearchQRCodeOptions.MatchTypeEnum.Contains,
Text = "GroupDocs.Signature Cloud",
QRCodeType = "Aztec",
Page = 1
};
var searchSettings = new SearchSettings
{
FileInfo = new FileInfo { FilePath = "signedQRCode_one-page.docx" },
Options = new List<SearchOptions> { options }
};
var response = apiInstance.SearchSignatures(new SearchSignaturesRequest(searchSettings));
Console.WriteLine("Expected response type is SearchResult: IsSuccess = " + response);
Consultez l’exemple complet dans SearchQRCode.cs.
Récupérez les formats acceptés par l’API signature.
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.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)}");
}
Consultez l’exemple complet dans GetSupportedFormats.cs.
Exemples sur GitHub
Le dépôt GroupDocs.Signature Cloud .NET Examples contient des exemples prêts à être exécutés sur :
| Category | Examples |
|---|
| Signer | Texte, image, code-barres, code QR, numérique, tampon, collection |
| Vérifier | Texte, code-barres, code QR, numérique, collection |
| Rechercher | Code-barres, code QR, numérique, collection |
| Mettre à jour et supprimer | Signatures de code-barres et de code QR |
| Info | Informations sur le document, aperçu, formats pris en charge, types de code-barres et de code QR |
- Clonez ou téléchargez le dépôt d’exemples
- Ouvrez
Examples/GroupDocs.Signature.Cloud.Examples.sln dans Visual Studio 2017 ou ultérieur - Cliquez avec le bouton droit sur la solution et sélectionnez Enable NuGet Package Restore
- Modifiez
Examples/GroupDocs.Signature.Cloud.Examples/RunExamples.cs et définissez Constants.MyClientId et Constants.MyClientSecret - Générez et exécutez
Pour plus de détails, consultez Getting Started.
