Search results

AnnotationSettings API in React PDF Viewer API component

The AnnotationSettings module is used to provide the properties to annotations.

Properties

allowedInteractions

AllowedInteraction[]

Gets or sets the allowed interactions for the locked annotations. IsLock can be configured using annotation settings.

Defaults to [‘None’]

author

string

specifies the author of the annotation.

customData

object

specifies the custom data of the annotation.

isLock

boolean

specifies the locked action of the annotation.

maxHeight

number

specifies the minHeight of the annotation.

maxWidth

number

specifies the maxWidth of the annotation.

minHeight

number

specifies the minHeight of the annotation.

minWidth

number

specifies the minWidth of the annotation.

skipDownload

boolean

specifies whether the annotations are included or not in download actions.

skipPrint

boolean

specifies whether the annotations are included or not in print actions.