Skip to content

groupdocs-annotation/GroupDocs.Annotation-for-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget GitHub

.NET API for Document Annotation

GroupDocs.Annotation for .NET is a lightweight, yet powerful .NET library that seamlessly integrates document annotation features into your .NET applications. Apply graphic, text and watermark annotations on Office, OpenOffice, PDF documents as well as images & CAD drawings with simplest object model.

Directory Description
Demos GroupDocs.Annotation for .NET Demo projects.
Examples Contains the package of all .NET C# examples and sample files that will help you learn how to use product features.

Annotate Documents & Images via .NET Library

  • Import document annotations.
  • Add, remove or reply to annotation comments.
  • Export annotated document back to its original format.
  • Render document pages as images.
  • Generate document thumbnails or document image preview.
  • Support for local cache 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.).

Microsoft Office Formats

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
AutoCAD: DWG, DXF
Email: EML
Web: HTML
Others: DCM

Annotation Objects

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

Develop & Deploy GroupDocs.Annotation Anywhere

Frameworks: NET Standard 2.0, .NET Framework 2.0 or higher, .NET Core 2.0 or higher, Mono Framework 1.2 or higher
Operating Systems: Linux, Mac OS X, Windows Desktop (x86 & x64), Windows Server (x86 & x64), Windows Azure
Development Environments: Microsoft Visual Studio, Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop

Getting Started with GroupDocs.Annotation for .NET

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.

Use C# Code to Save Annotated PDF Pages

// for this example input file ("input.pdf") must have at least 10 pages
using (Annotator annotator = new Annotator(“input.pdf”))
{
    AreaAnnotation area = new AreaAnnotation()
    {
        Box = new Rectangle(100, 100, 100, 100),
        BackgroundColor = 65535,
        PageNumber = 1
    };
    EllipseAnnotation ellipse = new EllipseAnnotation()
    {
        Box = new Rectangle(100, 100, 100, 100),
        BackgroundColor = 123456,
        PageNumber = 9
    };
    annotator.Add(new List<AnnotationBase>() { area, ellipse });
    annotator.Save(“result.pdf” new SaveOptions { OnlyAnnotatedPages = true});
}

Home | Product Page | Documentation | API Reference | Examples | Blog | Search | Free Support | Temporary License