Skip to content
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:

TypeDescriptionClass Name
Text AnnotationText 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 AnnotationLink annotations enable users to directly navigate to other locations within the document or external resources, providing a richer navigation experience.CPDFLinkAnnotation
Free Text AnnotationFree 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, ArrowThis 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, SquigglyAdd 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
StampStamp 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
InkDraw 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