Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

Overview

Annotations allow users to highlight paragraphs, add comments, markup, sign, or stamp PDF documents without modifying the original author's content. The annotated content, along with the original text, can then be shared together.

Benefits of ComPDFKit PDF Annotation

  • Comprehensive Type Support: Enables highlighting, text, freehand drawing, shapes, stamps, and more.
  • Create, Edit, Delete: Perform creation, editing, and deletion operations either programmatically or directly through the UI.
  • Flattened Annotations: Embed annotations permanently onto the document as images, ensuring document appearance stability and preventing further modifications.
  • Annotation Events: Trigger specified workflows to achieve automation.
  • Annotation Import and Export: Export annotations as XFDF templates and apply them to multiple documents.

Guides for Annotations

  • [Access Annotations](#3.2.3 Access-annotations)

    Get a list of annotations and individual annotation objects within a document.

  • [Create Annotations](#3.2.4 Create Annotations)

    Generate annotations of various types.

  • [Edit Annotations](#3.2.5 Edit Annotations)

    Modify annotation positions, appearances, and properties.

  • [Update Annotation Appearances](#3.2.6 Update Annotation Appearances)

    After edit the annotation properties, update the annotation appearance to apply the changes.

  • [Delete Annotations](#3.2.7 Delete Annotations)

    Remove an annotation from the document.

  • [Import and Export](#3.2.8 Import and Export)

    Export annotations as XFDF templates and apply them to multiple documents.

  • [Flatten Annotations](#3.2.9 Flatten Annotations)

    Permanently embed existing annotations within the document as images.