GroupDocs.Annotation for .NET 20.9 Release Notes

Major Features

Below the list of most notable changes in release of GroupDocs.Annotation for .NET 20.9:

  • Improved adding ImageAnnotation functionality
  • Fixed exception while processing specific xlsx files
  • Fixed exception while annotating email files
  • Fixed issue with streams when Save method invoked
  • Fixed Replacement annotation on Words files

Full List of Issues Covering all Changes in this Release 

ANNOTATIONNET-1482Replace file ImageAnnotation functionality with streamsImprovement
ANNOTATIONNET-1392Replacement annotation damages words fileBug
ANNOTATIONNET-1485CorruptedOrDamagedFileException on opening xlsx filesBug
ANNOTATIONNET-1486Method Annotator.Save returns closed streamBug
ANNOTATIONNET-1487Can’t get document info for msg fileBug
ANNOTATIONNET-1488NullReferenceException when annotating e-mailBug

Public API and Backward Incompatible Changes

Removed the deprecated ImportAnnotations property from the LoadOptions class because annotations are imported automatically.

So, if before version 20.9 this code was correct:

Annotator annotator = new Annotator("input.docx", new LoadOptions { Password = "password", ImportAnnotations = true });

Beginning with version 20.9, LoadOptions no longer has the ImportAnnotations property. The previous code needs to be changed. Example:

Annotator annotator = new Annotator("input.docx", new LoadOptions { Password = "password" });