groupdocs-annotation / GroupDocs.Annotation-for-Java

GroupDocs.Annotation for Java examples, plugins, and showcase
https://products.groupdocs.com/annotation/java
MIT License
3 stars 4 forks source link

GitHub

Java Library for Document Annotation

GroupDocs.Annotation for Java is a Document Annotation API that supports over 13 different annotation types for over 50 document formats with full control over annotation's appearance.

Directory Description
Demos GroupDocs.Annotation for Java Dropwizard and Spring Demo projects.
Examples Java examples and sample documents for you to get started quickly.

Annotate Documents via Java

Annotation Objects

Graphic Annotation: Area, Arrow, Distance, Ellipse, Point, Polyline, Resource Redaction, TextField \ Text Annotation: Highlight, Link, Replacement, Strikeout, Reduction, Underline \ Watermark: Diagonal, Horizontal

Get Started with GroupDocs.Annotation for Java

GroupDocs.Annotation for Java requires J2SE 8.0 (1.8) or above. Please install Java first if you do not have it already.

GroupDocs hosts all Java APIs on GroupDocs Artifact Repository, so simply configure your Maven project to fetch the dependencies automatically.

Add Arrow Annotation

    try(final Annotator annotator = new Annotator(Constants.INPUT_DOC)){
        String outputPath = Constants.getOutputFilePath("MinimalAnnotation", FilenameUtils.getExtension(Constants.INPUT_DOC));
        final ArrowAnnotation arrowAnnotation = new ArrowAnnotation();
        arrowAnnotation.setBox(new Rectangle(100, 100, 200, 200));
        annotator.add(arrowAnnotation);
        annotator.save(outputPath);
    }  

Home | Product Page | Documentation | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License