RESTful API to build online document & image annotation tools with support for text & image based annotation options. Let’s annotate!
Start Free TrialGroupDocs.Annotation Cloud SDK for Java is a handy toolkit for developing business document annotator applications in Java. The solution allows applying annotations, sticky notes, watermark overlays, redactions, text replacements and markups to documents, presentations, emails, spreadsheets, PDF, images other file formats. Annotation SDK works as a wrapper for the Java RESTful APIs and makes application cross-platform compatible. Our Annotation API also works with all popular 3rd party cloud storage solutions.
Configuration
using available Client Id
and Client Secret
.AnnotateApi
using instance of Configuration
.AnnotationInfo
and set options for type and position of the desired annotation.FileInfo
and set paths to input and output files.AnnotateOptions
with instances of AnnotationInfo
and FileInfo
.AnnotateApi.annotate
to annotate your document.Check out GroupDocs.Annotation Cloud SDK for Java at GitHub if you are looking for the source code to annotate file in the Cloud.
You can try GroupDocs.Annotation Low-Code Java APIs without any limitations.
GroupDocs.Annotation Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own Java services using GroupDocs.Annotation High-code APIs which currently drive our REST APIs.
GroupDocs.Annotation Cloud API provides a number of ways to deal with annotations. It not only allows retrieving annotations from documents, but also adds annotation to a document and retrieves the resultant document as stream. Following code snippet shows how you can quickly get the PDF version of any document.
// Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
Configuration configuration = new Configuration(appSID, appKey);
AnnotateApi apiInstance = new AnnotateApi(configuration);
// Create request object.
GetPdfRequest request = new GetPdfRequest();
request.setFilePath("docs"+ File.separator +"document.docx");
// Executing api method.
File response = apiInstance.getPdf(request);
GroupDocs.Annotation Cloud SDK for Java REST API, allows you to make use of various types of annotations. The primary types are; graphical annotation and text-based annotations. Text-based markups can be done thorugh adding text comments to selection, text redaction is supported to hide classified text. You can also highlight text with markups such as underlines and strikethroughs. Sticky notes can be added to rich text. Graphical annotation can be applied in the form of, adding notes to area highlighted with rectangle (Area Annotation), hide classified part of text or image (Area Redaction), apply notes to a specific point within the document (Point Annotation), arrows dropped to an object (Pointer/Arrow), drawing freehand shapes and lines (Polyline), add text-based watermark overlay (Watermark), and distance measurement between any two objects in the document (Distance Annotation).
To integrate GroupDocs.Annotation Cloud SDK into your Java applications, just create an account at GroupDocs.Cloud to get App SID & App Key. No installation is required.
GroupDocs.Annotation Cloud SDK for Java is open source and has an MIT license. Use it, and even customize it for no charges. Moreover, it is tested and out of the box running for a quick and reliable integration.
Provide desired parameters to our Swagger based interactive API explorer and try out various features of GroupDocs.Annotation Cloud API for Java in your browser. Please visit Annotation Cloud API explorer to see it in action.