Today, I’d like to present several great enhancements that we’ve implemented in the GroupDocs.Annotation for Java library version 1.6.0:

User AvatarsRemote collaboration in groups is much more engaging and productive when we can see each other (or at least put a face to each other). In this release we’ve implemented functionality that allows users to use personal avatars when annotating documents in a group. The avatar functionality can be easily configured through the library’s API. The {{AnnotationHandler}} has two new methods for handling user icons:```

public byte[] getUserAvatar(String userGuid)

public void setUserAvatar(String userGuid, byte\[\] avatarFile)

```The array used in these methods contains a binary picture that can be set for each user. For example, you can check if an avatar is already set, and if not, load one:```
if (annotationHandler().getUserAvatar(userGuid) == null){
    FileInputStream avatarStream = new FileInputStream(new File("E:\\\\Images\\\\smile.jpeg"));
    byte\[\] bytes = new byte\[avatarStream.available()\];
    IOUtils.readFully(avatarStream, bytes);
    annotationHandler().setUserAvatar(userGuid, bytes);


### Save Annotations in a DBIn this release we’ve added the capability to configure how you store annotation metadata. The [ORMLite]( persistence framework is now used to support a huge variety of storage providers. You can still use good old local file storage but if you need more consistency you can now easily integrate GroupDocs.Annotation with your application’s database, be it a MySQL, Microsoft SQL Server, PostgreSQL, or other supported DB. For more detail on this feature, please see [this page](

### New Annotation ObjectsGroupDocs.Annotation for Java version 1.6.0 has two new annotation tools:

*   **Ruler** - allows users to measure the distance between specified points in pixels.
*   **Underline tool** - allows users to underline selected text.

Besides, we’ve improved support for native PDF and Word annotations and added the capability to export annotated Word documents to a final .doc/.docx file with the Word’s “Track Changes” feature active.

### Print PreviewOne more enhancement that you may be interested in is the ability to generate a document print preview when users try to print the annotated document. The print preview displays documents with annotations added. To see a full list of changes and download the GroupDocs.Annotation for Java library version 1.6.0, please visit our [download archive]( For more information on the library please visit its [homepage]( and [documentation]( We also encourage you to use the [code examples]( that we’ve prepared to help you explore the library’s functionality quickly.