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. |
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
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
Graphic Annotation: Area, Arrow, Distance, Ellipse, Point, Polyline, Resource Redaction, TextField Text Annotation: Highlight, Link, Replacement, Strikeout, Reduction, Underline Watermark: Diagonal, Horizontal
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
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.
// 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