Search results

Annotation API in React PDF Viewer API component

The Annotation module is used to handle annotation actions of PDF viewer.



Method used to add annotations using program.

Parameter Type Description
annotationType AnnotationType It describes type of annotation object.
options (optional) FreeTextSettings | StickyNotesSettings | HighlightSettings | UnderlineSettings | LineSettings | StrikethroughSettings | RectangleSettings | CircleSettings | ArrowSettings | PolygonSettings | DistanceSettings | PerimeterSettings | AreaSettings | RadiusSettings | VolumeSettings | InkAnnotationSettings | StampSettings | CustomStampSettings It describes about the annotation objects and it’s property.
dynamicStampItem (optional) DynamicStampItem It describe which type of dynamic stamp.
signStampItem (optional) SignStampItem It describe which type of sign stamp.
standardBusinessStampItem (optional) StandardBusinessStampItem It describe which type of standard business stamp.

Returns void


Clear the annotation selection.

Returns void


Select the annotations using annotation object or annotation Id.

Returns void


Set annotation type to be added in next user interaction in PDF Document.

Returns void