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.

インストール
パッケージは nuget.org で公開されています。パッケージ マネージャー コンソールで次のコマンドを実行してインストールできます。
NuGet\Install-Package GroupDocs.signature-Cloud

要件
- .NET Framework 2.0 または .NET Standard 2.0
- NuGet
- .NET Framework 2.0 を対象とする場合の System.Web
- GroupDocs Cloud の資格情報 — ダッシュボードの Client ID and Client Secret
クイック スタート
API 資格情報を取得する
GroupDocs.Signature Cloud を使用するには、GroupDocs.Cloud ダッシュボード で登録し、Client ID と Client Secret を取得します。
API を初期化する
次のコードで 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);
完全な例は Constants.cs を参照してください。
テキストで文書に署名する
この例では、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);
完全な例は TextSignature.cs を参照してください。
テキスト署名を検証する
この例では、署名済み文書にテキスト署名が含まれていることを確認します。
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));
完全な例は VerifyText.cs を参照してください。
QR コード署名を検索する
この例では、文書内の Aztec QR コードを検索します。
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);
完全な例は SearchQRCode.cs を参照してください。
サポートされるファイル形式を取得する
signature API が受け付ける形式を取得します。
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)}");
}
完全な例は GetSupportedFormats.cs を参照してください。
GitHub の例
GroupDocs.Signature Cloud .NET Examples リポジトリには、次を扱うすぐに実行できる例があります。
| Category | Examples |
|---|
| 署名 | テキスト、画像、バーコード、QR コード、デジタル、スタンプ、コレクション |
| 検証 | テキスト、バーコード、QR コード、デジタル、コレクション |
| 検索 | バーコード、QR コード、デジタル、コレクション |
| 更新と削除 | バーコード署名と QR コード署名 |
| Info | 文書情報、プレビュー、サポートされる形式、バーコードと QR コードの種類 |
例の実行方法
- 例のリポジトリ をクローンまたはダウンロードします
- Visual Studio 2017 以降で
Examples/GroupDocs.Signature.Cloud.Examples.sln を開きます - ソリューションを右クリックし、Enable NuGet Package Restore を選択します
Examples/GroupDocs.Signature.Cloud.Examples/RunExamples.cs を編集し、Constants.MyClientId と Constants.MyClientSecret を設定します- ビルドして実行します
詳細は Getting Started を参照してください。
