Search results

HighlightSettings API in React PDF Viewer API component

The HighlightSettings module is used to provide the properties to Highlight annotation.

Properties

allowedInteractions

AllowedInteraction[]

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

Defaults to [‘None’]

annotationSelectorSettings

AnnotationSelectorSettingsModel

specifies the annotation selector settings of the annotation.

author

string

specifies the author of the annotation.

color

string

specifies the color of the annotation.

customData

object

specifies the custom data of the annotation.

enableMultiPageAnnotation

boolean

Enables or disables the multi-page text markup annotation selection in UI.

Defaults to false

enableTextMarkupResizer

boolean

Enable or disable the text markup resizer to modify the bounds in UI.

Defaults to false

isLock

boolean

specifies the locked action of the annotation.

opacity

number

specifies the opacity of the annotation.