GroupDocs.Annotation for .NET 24.5 Release Notes

Full list of changes in this release

KeyCategorySummary
ANNOTATIONNET-2548EnhancementImprove implementation of IEquatable for all annotation classes
ANNOTATIONNET-2571BugObtaining Pdf document info error on big (more than 15 pages) documents
ANNOTATIONNET-2570BugFix Spreadsheet size calculations when locating annotation on document page
ANNOTATIONNET-2551BugNull reference exception on Words document with specific options
ANNOTATIONNET-2550BugDimensions (height & width) of the XLSX-file page looks incorrectly small
ANNOTATIONNET-2547BugError Unable to serialize metadata object on saving Pdf documents with Form Fields elements

Major changes

Improved implementation of annotation classes

In this release we have refined implementation of IEquatable across all annotation classes. This enhancement ensures more accurate hash code generation and equality checks. Several fixes were made to address issues with the GetHashCode and Equals methods, enhancing the reliability and performance of equality operations. These improvements contribute to the robustness of the library, ensuring that annotation objects are compared accurately and consistently, reducing potential bugs and unexpected behavior.

Fixed document and pages information

This fix resolves the problem of incorrect dimensions (height and width) of Spreadsheet pages appearing too small. The dimensions are now carefully recalculated by taking into account the actual spreadsheet page setup in inches and converting these values to pixels units based on the DPI coefficient. This ensures that the spreadsheet page dimensions are accurately represented, providing a more reliable and visually correct layout.

Accurate locating annotation on Spreadsheet documents

We addressed an issue with the spreadsheet position and size calculations when locating annotations on Spreadsheet document pages. The fix involves a more precise estimation of the spreadsheet page’s actual width and height. This is achieved by accurately assessing cell values, filled rows, and columns, and then converting the spreadsheet page setup from inches to pixels based on the DPI coefficient.