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.Parser-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.Parser Cloud を使用するには、GroupDocs.Cloud ダッシュボード で登録し、Client ID と Client Secret を取得します。
API を初期化する
次のコードで GroupDocs.Parser Cloud SDK for .NET の使用を開始します。
using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new ParseApi(configuration);
完全な例は Common.cs を参照してください。
文書からテキストを抽出する
この例では、クラウド ストレージ内のメール ファイルからテキストを抽出します。
using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;
using GroupDocs.Parser.Cloud.Sdk.Model;
using GroupDocs.Parser.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new ParseApi(configuration);
var options = new TextOptions
{
FileInfo = new FileInfo { FilePath = "email/eml/embedded-image-and-attachment.eml" }
};
var response = apiInstance.Text(new TextRequest(options));
Console.WriteLine($"Text: {response.Text}");
完全な例は ExtractTextFromTheWholeDocument.cs を参照してください。
画像を抽出する
この例では、プレゼンテーションから画像を抽出します。
using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;
using GroupDocs.Parser.Cloud.Sdk.Model;
using GroupDocs.Parser.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new ParseApi(configuration);
var options = new ImagesOptions
{
FileInfo = new FileInfo { FilePath = "slides/three-slides.pptx" }
};
var response = apiInstance.Images(new ImagesRequest(options));
foreach (var image in response.Images)
{
Console.WriteLine($"Image path in storage: {image.Path}. Download url: {image.DownloadUrl}");
}
完全な例は ExtractImagesFromTheWholeDocument.cs を参照してください。
文書情報を取得する
この例では、パスワードで保護された Word 文書のページ数を返します。
using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;
using GroupDocs.Parser.Cloud.Sdk.Model;
using GroupDocs.Parser.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new InfoApi(configuration);
var options = new InfoOptions
{
FileInfo = new FileInfo
{
FilePath = "words-processing/docx/password-protected.docx",
Password = "password"
}
};
var response = apiInstance.GetInfo(new GetInfoRequest(options));
Console.WriteLine("InfoResult.PageCount: " + response.PageCount);
完全な例は GetDocumentInformation.cs を参照してください。
サポートされるファイルの種類を取得する
parser API が受け付ける形式を取得します。
using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new InfoApi(configuration);
var response = apiInstance.GetSupportedFileFormats();
foreach (var entry in response.Formats)
{
Console.WriteLine($"{entry.FileFormat}: {entry.Extension}");
}
完全な例は GetSupportedFileTypes.cs を参照してください。
GitHub の例
GroupDocs.Parser Cloud .NET Examples リポジトリには、次を扱うすぐに実行できる例があります。
| Category | Examples |
|---|
| テキスト | 文書全体、ページ範囲、書式付きテキスト、コンテナー内の文書 |
| 画像 | 文書全体、ページ範囲、コンテナー内の文書 |
| テンプレート | テンプレート オブジェクトによる解析、テンプレートの作成、取得、削除 |
| Info | 文書情報、コンテナー項目、サポートされるファイルの種類 |
例の実行方法
- 例のリポジトリ をクローンまたはダウンロードします
- Visual Studio 2017 以降で
Examples/GroupDocs.Parser.Cloud.Examples.sln を開きます - ソリューションを右クリックし、Enable NuGet Package Restore を選択します
Examples/GroupDocs.Parser.Cloud.Examples.CSharp/RunExamples.cs を編集し、Common.MyAppSid と Common.MyAppKey を設定します- ビルドして実行します
詳細は Getting Started を参照してください。

タグ
Document Data Extraction | REST API | GroupDocs.Parser | Text Extraction | Image Extraction | Template Parsing | Markdown Extraction | HTML Extraction | Container Files | Data Parsing | Document Information | File Management | Cloud Storage | SDKs | Cross Platform | Storage API | File Operations | Folder Operations | Security and Authentication | Document Parsing | API Integration | Data Extraction | ZIP Files | PDF | PST/OST Files | Extract Images | Document Processing | Data Extraction API | GroupDocs SDK | API Explorer | Metadata Extraction