GroupDocs.Annotation for Java 19.7 Release Notes

This page contains release notes for GroupDocs.Annotation for Java 19.7

Major Features

Below is the list of most notable changes in release of GroupDocs.Annotation for Java 19.7:

  • Add Thumbnails of the selected document
  • Implement ability to add ellipse annotation to different formats
  • Implement angled watermarks for different formats
  • Annotation not apply if page number not defined in Words and Cells
  • Implement working with mutipage TIFF
  • Fixed errors in some methods in trial mode

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
ANNOTATIONNET-851Add Thumbnails of the selected documentFeature
ANNOTATIONNET-869 Implement ability to add ellipse annotation to PDFFeature
ANNOTATIONNET-870 Implement ability to add ellipse annotation to WordsFeature
ANNOTATIONNET-871 Implement ability to add ellipse annotation to SlidesFeature
ANNOTATIONNET-872 Implement ability to add ellipse annotation to ImagesFeature
ANNOTATIONNET-873 Implement ability to add ellipse annotation to CellsFeature
ANNOTATIONNET-876 Implement angled watermarks for PDFFeature
ANNOTATIONNET-877 Implement angled watermarks for SlidesFeature
ANNOTATIONNET-897Implement working with mutipage TIFFFeature
ANNOTATIONNET-904  Add GetPage convert options for multipage TIF / TIFFFeature
ANNOTATIONNET-905 Implement ability to add ellipse annotation to DiagramsFeature
ANNOTATIONNET-919 Implement angled watermarks for CellsFeature
ANNOTATIONNET-920 Implement angled watermarks for ImagesFeature
ANNOTATIONNET-922 Implement angled watermarks for DiagramsFeature
ANNOTATIONNET-843Only first page is saved in output when Multi-Tiff file is annotatedBug
ANNOTATIONNET-898Import annotations for Images doesn’t close streamBug
ANNOTATIONNET-899AnnotationImageHandler.GetDocumentInfo exception in trial modeBug
ANNOTATIONNET-914Annotation not apply if page number not defined in WordsBug
ANNOTATIONNET-918PenWidht and PenColor annotation properties can’t be applied in WordsBug
ANNOTATIONNET-923Comments can’t be set to shapes in SlidesBug
ANNOTATIONJAVA-111TIFF/Multi TIFF file is either corrupted or black and white when annotatedBug
ANNOTATIONJAVA-1189Exception occurred when I add a polyline annotation into the file and then try to add a distance annotationBug
ANNOTATIONJAVA-1134Application is consuming 100% resources usage while loading documentBug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in GroupDocs.Annotation for Java 19.7. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Annotation which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.
  1.  Adding Ellipse annotation.

    // minimal set of parameters
    AnnotationInfo ellipse = new AnnotationInfo();
    ellipse.setBox(new Rectangle(100, 100.0, 50, 50));
  2. GetThumbnail method returns JPEG image stream.
    Assume we are getting pages from document:

    List<PageImage> pages = annotationHandler.getPages(document);
    // Then if we want get thumbnail we call GetThumbnail() method of PageImage item:
    for (int i = 0; i < pages.size(); i++) {
        InputStream stream = pages.get(i).getThumbnail();
        // do something with stream 
    // Default image size was 300x180. If need specified image size, you can pass method parameters:
    // image thumbnails 100x100
    for (int i = 0; i < pages.size(); i++) {
        InputStream stream = pages.get(i).getThumbnail(100, 100);
        // do something with stream 
  3. Added ability to set text watermarks angle.
    The same as adding Watermark annotation, but you should additionally set Watermark rotation angle by setting AnnotationInfo.Angle property (in degrees)

    AnnotationInfo annotation = new AnnotationInfo();