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.

Kurulum
Paket nuget.org adresinde kullanılabilir ve Paket Yöneticisi Konsolu üzerinden şu komutla yüklenebilir:
NuGet\Install-Package GroupDocs.Annotation-Cloud

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.Annotation Cloud kullanmak için GroupDocs.Cloud Panosu üzerinde kaydolun ve Client ID ile Client Secret değerlerini alın.
API’yi başlatma
GroupDocs.Annotation Cloud SDK for .NET kullanmaya başlamak için aşağıdaki kodu kullanın.
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
string MyClientId = "YourClientId";
string MyClientSecret = "YourClientSecret";
var config = new Configuration(MyClientId, MyClientSecret);
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new AnnotateApi(config);
Tam örneği Constants.cs içinde görün.
Metin vurgusu ekleme
Bu örnek, bulut depolamadaki bir Word belgesine metin vurgusu ekler.
using System;
using System.Collections.Generic;
using System.Linq;
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
using GroupDocs.Annotation.Cloud.Sdk.Model;
using GroupDocs.Annotation.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new AnnotateApi(config);
var options = new AnnotateOptions
{
FileInfo = new FileInfo { FilePath = "one-page.docx" },
Annotations = new List<AnnotationInfo>
{
new AnnotationInfo
{
Points = new List<Point>
{
new Point { X = 80, Y = 730 }, new Point { X = 240, Y = 730 },
new Point { X = 80, Y = 650 }, new Point { X = 240, Y = 650 }
},
BackgroundColor = 65535,
PageNumber = 0,
Type = AnnotationInfo.TypeEnum.TextHighlight,
Text = "This is text highlight annotation",
CreatorName = "Anonym A."
}
},
OutputPath = "Output/output.docx"
};
var link = apiInstance.Annotate(new AnnotateRequest(options));
Console.WriteLine("AddTextHighlightAnnotation: Text highlight Annotation added: " + link.Title);
Tam örneği AddTextHighlightAnnotation.cs içinde görün.
Alan açıklaması ekleme
Bu örnek ilk sayfaya bir alan açıklaması ekler.
using System.Collections.Generic;
using System.Linq;
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
using GroupDocs.Annotation.Cloud.Sdk.Model;
using GroupDocs.Annotation.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new AnnotateApi(config);
var options = new AnnotateOptions
{
FileInfo = new FileInfo { FilePath = "one-page.docx" },
Annotations = new List<AnnotationInfo>
{
new AnnotationInfo
{
AnnotationPosition = new Point { X = 1, Y = 1 },
Box = new Rectangle { X = 100, Y = 100, Width = 100, Height = 100 },
PageNumber = 0,
Type = AnnotationInfo.TypeEnum.Area,
Text = "This is area annotation",
CreatorName = "Anonym A."
}
},
OutputPath = "Output/output.docx"
};
var link = apiInstance.Annotate(new AnnotateRequest(options));
Console.WriteLine("AddAreaAnnotation: Area Annotation added: " + link.Title);
Tam örneği AddAreaAnnotation.cs içinde görün.
Açıklamaları silme
Bu örnek 1, 2 ve 3 numaralı açıklamaları kaldırır.
using System.Collections.Generic;
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
using GroupDocs.Annotation.Cloud.Sdk.Model;
using GroupDocs.Annotation.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new AnnotateApi(config);
var options = new RemoveOptions
{
FileInfo = new FileInfo { FilePath = "one-page.docx" },
AnnotationIds = new List<int?> { 1, 2, 3 },
OutputPath = "Output/output.docx"
};
var link = apiInstance.RemoveAnnotations(new RemoveAnnotationsRequest(options));
Console.WriteLine("DeleteAnnotations: Annotations deleted: " + link.Title);
Tam örneği DeleteAnnotations.cs içinde görün.
Açıklamaları ayıklama
Bu örnek bir belgedeki açıklamaları okur.
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
using GroupDocs.Annotation.Cloud.Sdk.Model;
using GroupDocs.Annotation.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new AnnotateApi(config);
var response = apiInstance.Extract(new ExtractRequest(new FileInfo { FilePath = "input.docx" }));
Console.WriteLine("ExtractAnnotations: annotations count = " + response.Count);
Tam örneği ExtractAnnotations.cs içinde görün.
Desteklenen dosya biçimlerini alma
annotation API’sinin kabul ettiği biçimleri alın.
using GroupDocs.Annotation.Cloud.Sdk.Api;
using GroupDocs.Annotation.Cloud.Sdk.Client;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new InfoApi(config);
var response = apiInstance.GetSupportedFileFormats();
Console.WriteLine("GetSupportedFormats: formats count = " + response.Formats.Count);
Tam örneği GetSupportedFormats.cs içinde görün.
GitHub’daki örnekler
GroupDocs.Annotation Cloud .NET Examples deposu, şunları kapsayan çalışmaya hazır örnekler içerir:
| Category | Examples |
|---|
| Ekle | Alan, ok, uzaklık, elips, görüntü, bağlantı, nokta, çoklu çizgi, metin vurgusu, alt çizgi, üstü çizili, karartma, filigran |
| Yönet | Açıklamaları silme, açıklamaları ayıklama, doğrudan açıklama |
| Info | Belge bilgileri, desteklenen biçimler |
| Önizleme | Sayfaları alma, sayfaları silme |
Örnekleri çalıştırma
- örnek deposu deposunu klonlayın veya indirin
Examples/GroupDocs.Annotation.Cloud.Examples.sln dosyasını Visual Studio 2017 veya sonraki bir sürümde açın- Çözüme sağ tıklayın ve Enable NuGet Package Restore öğesini seçin
Examples/GroupDocs.Annotation.Cloud.Examples/Program.cs dosyasını düzenleyin ve Constants.MyClientId ile Constants.MyClientSecret değerlerini ayarlayın- Derleyin ve çalıştırın
Daha fazla ayrıntı için Getting Started sayfasını ziyaret edin.
