[Release] GroupDocs.Parser for .NET v26.7 – PDF Annotation Extraction & NuGet for .NET 6/8/10

Dear GroupDocs Customers,

We are pleased to announce the release of GroupDocs.Parser for .NET version 26.7. This update implements the functionality of extracting annotations from PDF documents and adds dedicated NuGet packages for .NET 6, .NET 8, and .NET 10.

Key New Feature
○ Implement the ability to extract annotations from PDF documents (issue PARSERNET-2890).

Major Improvements and Fixes
○ Implement the ability to extract annotations from PDF documents.
○ Implement NuGet packages for .NET 6, .NET 8, and .NET 10 (issue PARSERNET-2891).

Annotations can be extracted either separately using the GetAnnotations method, or together with the document’s full text using the GetText method.

The following example demonstrates how to extract annotations from a PDF document simultaneously with the full text:

using (Parser parser = new Parser("MyFile.pdf"))
{
    TextOptions options = new TextOptions()
    {
        IncludeAnnotations = true
    };
    using (TextReader reader = parser.GetText(options))
    {
        string text = reader.ReadToEnd();
        Console.WriteLine(text);
    }
}

The following example demonstrates how to extract annotations from a PDF document separately:

using (Parser parser = new Parser("MyFile.pdf"))
{
    IEnumerable<AnnotationItem> annotations = parser.GetAnnotations();
    foreach (AnnotationItem annotation in annotations)
    {
        Console.WriteLine(annotation.Value);
    }
}

With this release, GroupDocs.Parser for .NET packages are now available for five platforms — .NET Framework 4.6.2, .NET Standard 2.1, .NET 6, .NET 8, and .NET 10. There is no need to choose which one to install: simply install the router package, and it will automatically select the appropriate package for your platform.

Reference Links
○ Release notes: GroupDocs.Parser for .NET 26.7 Release Notes
○ Release announcement blog post: GroupDocs.Parser for .NET 26.7 – PDF Annotations & .NET 6/8/10 Support
○ New documentation article: Extract Annotations from PDF Documents in C# .NET | GroupDocs
○ Updated GitHub examples: GitHub - groupdocs-parser/GroupDocs.Parser-for-.NET: GroupDocs.Parser for .NET examples, plugins and showcase projects · GitHub
○ NuGet package for .NET projects: NuGet Gallery | GroupDocs.Parser 26.7.0

This update simplifies the extraction of annotation data from PDF documents and streamlines package selection across modern .NET platforms.

We welcome your feedback. Please direct any questions or feature requests to our support team.

Sincerely,
The GroupDocs Team