PDF Annotations in Python
Annotations in PDFs are interactive elements that let you add notes, highlight text, draw shapes, attach files, and trigger actions directly on a page. They are useful for review workflows, collaboration, navigation, and document markup.
Aspose.PDF for Python via .NET supports a wide range of annotation scenarios, including note and popup annotations, text markup, links and buttons, shapes, watermarks, multimedia annotations, and annotation import or export workflows.
Use this section to choose the annotation workflow that matches your task, whether you need to create new annotations, inspect existing ones, remove them, or transfer them between PDF documents.
Annotation Topics
Use this section when you need to add, retrieve, update, remove, or transfer annotations in PDF files with Python. The linked pages below cover both the top-level annotation workflows and the grouped annotation families used throughout the documentation.
You can use the following topics:
- Add, Delete and Get Annotation - start here for the main grouped annotation categories and the core create, inspect, and remove workflows.
- Import and Export Annotations - copy annotations from one PDF document into another PDF file.
Annotation Groups
The grouped annotation guide includes these subtopics:
- Text Annotations - work with free text, highlight, underline, squiggly, and strikeout annotations.
- Markup Annotations - add or inspect note, caret, and replace annotations used in review scenarios.
- Interactive Annotations - create link annotations, navigation buttons, and print buttons.
- Shape Annotations - use line, square, circle, polygon, and polyline annotations.
- Media Annotations - add sound, screen, rich media, and 3D annotations.
- Security Annotations - work with file attachment, redaction, and related protection-oriented annotations.
- Watermark Annotations - add and manage annotation-based watermark elements. Annotations are especially useful for document review, collaboration, content markup, and interactive navigation. Begin with the grouped overview when you want to browse supported annotation types, or go directly to a specific topic when you already know the workflow you need.