Document Annotation .NET Cloud REST API
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
This REST API enhances your C#, ASP.NET & other .NET cloud apps to import, export & process text & figure annotations within documents for 35+ file formats.
Cloud Document Annotation Features
- Fetch document description with metadata and coordinates of text on pages.
- Fetch annotation data from files of supported formats.
- Import annotation information from documents.
- Export annotation information to a document and fetch it as a stream.
- Remove document annotations.
- Get image representation of the document pages.
- Render documents to PDF format with storage URL or stream output.
- Add or remove document or image annotations of various types.
Microsoft Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
Microsoft Excel: XLS, XLSX, XLSB, XLSX
Microsoft PowerPoint: PPT, PPTX, PPSX
Microsoft Visio: VSD, VDX, VSS, VSDM
OpenOffice: OTT, ODT, ODP, OTP
Image: JPEG, TIFF, BMP, GIF (static only), DJVU
Metafile: EMF, WMF
Email: EML, EMLX, MSG
Portable: PDF
Medical Imagery: DICOM
Markup: HTML, MHTML
AutoCAD: CAD
Get Started
You do not need to install anything to get started with GroupDocs.Annotation Cloud SDK for .NET. Just create an account at GroupDocs for Cloud and get your application information.
Simply execute Install-Package GroupDocs.Annotation-Cloud
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Annotation assembly in your project. If you already have GroupDocs.Annotation Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Annotation-Cloud
to get the latest version.
Please check the GitHub Repository for common usage scenarios.
Annotate DOCX File using C# Code
// for complete examples, please visit https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet
// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
string MyClientId = "MY-CLIENT-ID";
string MyClientSecret = "MY-CLIENT-SECRET";
// Create instance of the API
var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new AnnotateApi(configuration);
AnnotationInfo[] annotations = {
new AnnotationInfo {
AnnotationPosition = new Point {
X = 852, Y = 59.388262910798119
},
Box = new Rectangle {
X = 375.89276123046875, Y = 59.388263702392578, Width = 88.7330551147461, Height = 37.7290153503418
},
PageNumber = 0,
PenColor = 1201033,
PenStyle = 0,
PenWidth = 1,
Type = AnnotationInfo.TypeEnum.Area,
CreatorName = "Anonym A."
}
};
var options = new AnnotateOptions {
FileInfo = new FileInfo() {
FilePath = "sample-file.docx"
},
Annotations = annotations.ToList(),
OutputPath = "Annotated/output.docx"
};
var response = apiInstance.Annotate(new AnnotateRequest(options));
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial