On this page
Guides
Supported Annotation Types
ComPDFKit supports annotation types that adhere to PDF standards, as defined in the PDF reference. These annotations can be read and written by compliant PDF processors, including Adobe Acrobat. The supported annotation types are as follows:
Type | Description | Class Name |
---|---|---|
Text Annotation | Text annotations appear as small icons or labels. Users can expand them to view related content, making them suitable for personal notes, reminders, or comments. | CPDFTextAnnotation |
Link Annotation | Link annotations enable users to directly navigate to other locations within the document or external resources, providing a richer navigation experience. | CPDFLinkAnnotation |
Free Text Annotation | Free text annotations allow users to insert free-form text into PDF documents, useful for adding annotations, comments, or explanations of document content. | CPDFFreetextAnnotation |
Graphics: Rectangle, Circle, Line, Arrow | This category includes shapes like rectangles, circles, lines, and arrows, used to draw graphics in the document to highlight or mark specific areas. | CPDFSquareAnnotation, CPDFCircleAnnotation, CPDFLineAnnotation |
Markup: Highlight, Underline, Strikethrough, Squiggly | Add markup annotations in the PDF document to emphasize, underline, strikethrough, or add squiggly lines to specific content, such as important paragraphs, lines, words, keywords, or tables. | CPDFHighlightAnnotation, CPDFUnderlineAnnotation, CPDFStrikeoutAnnotation, CPDFSquigglyAnnotation |
Stamp | Stamp annotations allow the insertion of stamps or seals into PDF documents, containing text, images, or custom designs, resembling the process of stamping on physical documents. | CPDFStampAnnotation |
Ink | Draw custom shapes, icons, or doodles using handwritten or mouse-drawn strokes, enabling users to freely create or add personalized graphic elements to the document. | CPDFInkAnnotation |
Audio | Add audio files to the PDF document for a multimedia-rich presentation. | CPDFSoundAnnotation |