Edit BMP Files in Net

Download Free Trial

About GroupDocs.Annotation for Net API

GroupDocs.Annotation for Net API is a library that allows you to add annotations to PDF, Word and other documents on Mac, Windows or Ubuntu. GroupDocs.Annotation for Net is a native Net API for managing annotations with comprehensive support for creating, adding, editing, deleting, extracting and exporting annotations from images and various other documents. The full list of supported document formats you could see on this page.

This library allows you to work not only with BMP document but also with many other types documents such as Word, Excel, PowerPoint, Outlook emails, Visio, Adobe, OpenDocument, OpenOffice, Photoshop, AutoCad and many others.

The GroupDocs.Annotation for Net API allows you to create and add new notes, edit annotations, extract comments, annotations, and remove them from documents. The library supports 13 different annotation types, including Text, Polyline, Area, Underline, Point, Watermark, Arrow, Ellipse, Text Replacement, Distance, Text Field, Resource Redaction in PDF, HTML, Microsoft Word documents, spreadsheets, diagrams, presentations, drawings, images and many other file formats.

The example (please see below) demonstrates working with BMP document, in this example you could see the main steps of how to work with GroupDocs.Annotation: Setup a license, open a document you want to work with, creating an annotation, adding data objects to set annotation properties according to your requirements and saving the result to the needed place. Also you could have a look more detailed on the supported features on our github page, or in our product documentation.

Steps to Edit Annotations in BMP in Net

GroupDocs.Annotation makes it easier for Net developers to update various annotation properties from BMP files within any Net-based application by implementing a few easy steps.

  • Instantiate Annotator object with input document path or stream with instantiated LoadOptions with ImportAnnotations = true.
  • Create some AnnotationBase implementation and set Id of existed annotation (if annotation with that Id not found, nothing will be changed) or path list of annotations (all existed annotations will be removed).
  • Call update method of Annotator object with passed annotations.
  • Call save method with resultant document path or stream and SaveOptions object.

System Requirements

GroupDocs.Annotation for Net APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Download the latest version of GroupDocs.Annotation for .NET from NuGet

// open annotated document
using (Annotator annotator = new Annotator("result.bmp"))
    //assuming we are going to change some properties of existing annotation
        AreaAnnotation updated = new AreaAnnotation
                    // It's important to set existed annotation Id
                    Id = 1,
                    BackgroundColor = 255,
                    Box = new Rectangle(0, 0, 50, 200),
                    CreatedOn = DateTime.Now,
                    Message = "This is updated annotation",
                    Replies = new List
                        new Reply
                            Comment = "Updated first comment",
                            RepliedOn = DateTime.Now
                        new Reply
                            Comment = "Updated second comment",
                            RepliedOn = DateTime.Now
        // update annotation

Live Demos to Annotate Documents and Images

Read and edit annotations from BMP file right now by visiting GroupDocs.Annotation Live Demos website. The live demo has the following benefits

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

About BMP File Format

Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. This independence serves the purpose of opening the file on multiple platforms such as Microsoft Windows and Mac. The BMP file format can store data as two-dimensional digital images in both monochrome as well as color format with various colour depths.

Read More About BMP File Format

Editing Annotating From Other Popular File Formats

Java annotations editor API for documents and image formats. Update annotation properties from some of the popular file formats as stated below.

Edit Annotation in PDF

(Adobe Portable Document Format)

Edit Annotation in DOC

(Microsoft Word Document)

Edit Annotation in DOCM

(Microsoft Word Macro-Enabled Document)

Edit Annotation in DOCX

(Microsoft Word Open XML Document)

Edit Annotation in DOT

(Microsoft Word Document Template)

Edit Annotation in DOTX

(Word Open XML Document Template)

Edit Annotation in RTF

(Rich Text Document)

Edit Annotation in ODT

(Open Document Text)

Edit Annotation in XLS

(Microsoft Excel Binary File Format)

Edit Annotation in XLSX

(Microsoft Excel Open XML Spreadsheet)

Edit Annotation in XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Edit Annotation in XLSB

(Microsoft Excel Binary Worksheet)

Edit Annotation in ODS

(Open Document Spreadsheet)

Edit Annotation in PPT

(PowerPoint Presentation)

Edit Annotation in PPTX

(PowerPoint Open XML Presentation)

Edit Annotation in PPSX

(PowerPoint Open XML Slide Show)

Edit Annotation in POTM

(Microsoft PowerPoint Template)

Edit Annotation in PPTM

(Microsoft PowerPoint Presentation)

Edit Annotation in PPS

(Microsoft PowerPoint 97-2003 Slide Show)

Edit Annotation in ODP

(OpenDocument Presentation)

Edit Annotation in HTML

(HyperText Markup Language)

Edit Annotation in TIFF

(Tagged Image File Format)

Edit Annotation in PNG

(Portable Network Graphic)

Edit Annotation in EML

(E-mail Message)

Edit Annotation in MSG

(Microsoft Outlook E-mail Message)

Edit Annotation in VSD

(Microsoft Visio 2003-2010 Drawing)

Edit Annotation in VSDX

(Microsoft Visio Drawing)

Edit Annotation in VSS

(Microsoft Visio 2003-2010 Stencil)

Edit Annotation in VST

(Microsoft Visio 2013 Stencil)

Edit Annotation in DWG

(Autodesk Design Data Formats)

Edit Annotation in DXF

(AutoCAD Drawing Interchange)

Edit Annotation in DCM

(Digital Imaging and Communications in Medicine)

Edit Annotation in WMF

(Windows Metafile)

Edit Annotation in EMF

(Enhanced Metafile Format)

Back to top