GroupDocs.Annotation 22.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Annotation --version 22.5.1                
NuGet\Install-Package GroupDocs.Annotation -Version 22.5.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Annotation" Version="22.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Annotation --version 22.5.1                
#r "nuget: GroupDocs.Annotation, 22.5.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Annotation as a Cake Addin
#addin nuget:?package=GroupDocs.Annotation&version=22.5.1

// Install GroupDocs.Annotation as a Cake Tool
#tool nuget:?package=GroupDocs.Annotation&version=22.5.1                

Add Search Text Fragment Annotation .NET API

Version 22.5.1 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

It's an on-premise API that seamlessly integrates document annotation features into your .NET applications. Apply graphic, text, and watermark annotations.

Document Annotation via .NET

  • Import document annotations.
  • Add, remove, or reply to annotation comments.
  • Render document pages as images.
  • Generate document thumbnails or document image preview.
  • Support for default cache (local disk) or custom cache (Amazon S3, Dropbox, etc.).
  • Get list of supported file formats.
  • Fetch document information, such as page count & file size.
  • Extract annotations from a document and serialize to XML format.
  • Remove previously added annotations from a document.
  • Update specific annotation properties (size, color, etc.).

What's new in v22.5.0

Add Search Text Fragment Annotation

Introduced the ability to add search text fragment annotation.

//Add search text annotation to the document from local disk
using (Annotator annotator = new Annotator("input.pdf"))
{
	SearchTextFragment searchText = new SearchTextFragment()
    {
    	Text = "Welcome to GroupDocs",
        FontSize = 10,
        FontFamily = "Calibri",
        FontColor = 65535,
        BackgroundColor = 16761035,
	};
    annotator.Add(searchText);
    annotator.Save("result.pdf");
}

For a complete list of features, enhancements, and bug fixes in this release please visit, GroupDocs.Annotation for .NET 22.5 Release Notes.

Supported Annotation Objects

Graphic Annotation: Area, Arrow, Distance, Point, Polyline, Redaction, TextField, Ellipse
Text Annotation: Highlight, Replacement, Strikeout, Underline
Watermark: Horizontal, Diagonal

Support Microsoft Office Formats for Annotation

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF
Microsoft Excel: XLS, XLSB, XLSM, XLSX
Microsoft PowerPoint: PPT, PPTX, PPSX, PPS
Microsoft Visio: VSD, VSDX, VSS, VST

Other Document Formats

Portable: PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a)
OpenDocument: ODT, ODS, ODP
Images: TIF, TIFF, JPG, JPEG, PNG, BMP
Medical Imaging: DCM
AutoCAD: DWG, DXF
Email: EML
Web: HTML

Supported Platforms

GroupDocs.Annotation for .NET supported platforms are listed below:
.NET Standard 2.0: Any type of .NET Standard 2.0 application is supported (since Q4 2019).
.NET Framework: Any type of .NET Framework version 2.0 (or later) application is supported - ASP.NET, Web Services, WinForms, WPF, and others. Full support for 32-bit and 64-bit.
Windows Azure: GroupDocs.Annotation for .NET runs on Windows Azure.
Mono: You can use GroupDocs.Annotation for .NET to build applications with Mono.

Get Started

Are you ready to give GroupDocs.Annotation for .NET a try? Simply execute Install-Package GroupDocs.Annotation from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Annotation assembly in your project. If you already have GroupDocs.Annotation for .Net and want to upgrade it, please execute Update-Package GroupDocs.Annotation to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Use C# Code to Extract Annotations from PDF File

// for using this example input file ("annotated.pdf") must be with annotations
using(Annotator annotator = new Annotator("annotated.pdf")) {
   List < AnnotationBase > annotations = annotator.Get();
   XmlSerializer formatter = new XmlSerializer(typeof (List < AnnotationBase > ));
   using(FileStream fs = new FileStream("annotations.xml", FileMode.Create)) {
      fs.SetLength(0);
      formatter.Serialize(fs, annotations);
   }
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.5.0 840 5/30/2024
24.4.0 881 4/8/2024
23.12.0 1,809 12/29/2023
23.6.0 6,623 6/30/2023
23.5.0 6,333 5/31/2023
23.4.0 2,722 4/11/2023
23.1.0 3,798 1/31/2023
22.11.0 2,140 11/30/2022
22.9.0 1,740 9/30/2022
22.5.1 2,088 8/9/2022
21.5.0 1,267 5/31/2021
21.4.0 8,700 4/30/2021
21.3.0 7,480 3/31/2021
21.2.0 49,120 2/26/2021
21.1.0 2,406 1/29/2021
20.11.0 40,626 11/30/2020
20.10.0 28,178 10/30/2020
20.9.0 24,658 9/30/2020
20.8.0 24,825 8/31/2020
20.7.0 25,084 7/31/2020
20.6.0 56,861 6/26/2020
20.5.0 40,478 5/29/2020
20.4.1 41,080 4/27/2020
20.4.0 23,990 4/13/2020
20.2.0 41,958 2/28/2020
20.1.0 25,369 1/31/2020
19.12.0 39,223 12/24/2019
19.11.0 36,795 11/29/2019
19.10.0 1,376 10/28/2019
19.9.0 1,056 9/25/2019
19.6.0 2,425 6/27/2019
19.4.1 2,023 5/14/2019
19.4.0 953 5/6/2019
19.3.0 1,771 3/28/2019
19.1.0 1,791 1/28/2019
18.12.0 2,169 12/5/2018
18.10.0 1,406 11/5/2018
18.9.0 1,342 10/3/2018
18.8.0 1,291 8/28/2018
18.7.1 1,269 8/6/2018
18.7.0 1,298 7/16/2018
18.6.0 1,346 6/14/2018
18.5.0 1,251 5/21/2018
18.4.0 1,387 4/16/2018
18.3.0 1,329 3/13/2018
18.2.0 1,334 2/7/2018
18.1.0 1,247 1/19/2018
17.12.0 11,376 12/7/2017
17.11.0 1,440 11/2/2017
17.10.0 1,344 10/2/2017