Ürünlerimize göz atın

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.


Product Docs Swagger Examples Blog Support Dashboard

Kurulum

Paket nuget.org adresinde kullanılabilir ve Paket Yöneticisi Konsolu üzerinden şu komutla yüklenebilir:

NuGet\Install-Package GroupDocs.Parser-Cloud

Version NuGet NuGet-GroupDocsCloud


Gereksinimler

  • .NET Framework 2.0 veya .NET Standard 2.0
  • NuGet
  • .NET Framework 2.0 hedeflenirken System.Web
  • GroupDocs Cloud kimlik bilgileri — panodaki Client ID and Client Secret

Hızlı başlangıç

API kimlik bilgilerinizi alın

GroupDocs.Parser Cloud kullanmak için GroupDocs.Cloud Panosu üzerinde kaydolun ve Client ID ile Client Secret değerlerini alın.

API’yi başlatma

GroupDocs.Parser Cloud SDK for .NET kullanmaya başlamak için aşağıdaki kodu kullanın.

using GroupDocs.Parser.Cloud.Sdk.Api;
using GroupDocs.Parser.Cloud.Sdk.Client;

var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new ParseApi(configuration);

Tam örneği Common.cs içinde görün.

Belgeden metin ayıklama

Bu örnek, bulut depolamadaki bir e-posta dosyasından metin ayıklar.

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}");

Tam örneği ExtractTextFromTheWholeDocument.cs içinde görün.

Görüntüleri ayıklama

Bu örnek bir sunudan görüntü ayıklar.

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}");
}

Tam örneği ExtractImagesFromTheWholeDocument.cs içinde görün.

Belge bilgilerini alma

Bu örnek parolayla korunan bir Word belgesinin sayfa sayısını döndürür.

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);

Tam örneği GetDocumentInformation.cs içinde görün.

Desteklenen dosya türlerini alma

parser API’sinin kabul ettiği biçimleri alın.

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}");
}

Tam örneği GetSupportedFileTypes.cs içinde görün.

GitHub’daki örnekler

GroupDocs.Parser Cloud .NET Examples deposu, şunları kapsayan çalışmaya hazır örnekler içerir:

CategoryExamples
MetinBelgenin tamamı, sayfa aralığı, biçimli metin, kapsayıcı içindeki belge
GörüntülerBelgenin tamamı, sayfa aralığı, kapsayıcı içindeki belge
ŞablonlarŞablon nesnesiyle ayrıştırma, şablon oluşturma, alma ve silme
InfoBelge bilgileri, kapsayıcı öğeleri, desteklenen dosya türleri

Örnekleri çalıştırma

  1. örnek deposu deposunu klonlayın veya indirin
  2. Examples/GroupDocs.Parser.Cloud.Examples.sln dosyasını Visual Studio 2017 veya sonraki bir sürümde açın
  3. Çözüme sağ tıklayın ve Enable NuGet Package Restore öğesini seçin
  4. Examples/GroupDocs.Parser.Cloud.Examples.CSharp/RunExamples.cs dosyasını düzenleyin ve Common.MyAppSid ile Common.MyAppKey değerlerini ayarlayın
  5. Derleyin ve çalıştırın

Daha fazla ayrıntı için Getting Started sayfasını ziyaret edin.


Product Docs Swagger Examples Blog Support Dashboard


Etiketler

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


 Türkçe