Search results

AnnotationAddEventArgs API in JavaScript (ES5) PDF Viewer API control

This event arguments provides the necessary information about annotation add event.

Properties

annotationBound

any

Defines the bounds of the annotation added in the page of the PDF document.

annotationId

string

Defines the id of the annotation added in the page of the PDF document.

annotationSettings

any

Defines the settings of the annotation added to the PDF document.

annotationType

AnnotationType

Define the type of the annotation added in the page of the PDF document.

customStampName

string

Defines the name of the custom stamp added to the PDF page.

labelSettings

ShapeLabelSettingsModel

End index of text markup annotation in the page text content.

multiplePageCollection

any

Defines the multi page annotation collections.

name

string

Specifies name of the event.

pageIndex

number

Defines the page number in which the annotation is added.

textMarkupContent

string

Defines the selected text content in the text markup annotation.

textMarkupEndIndex

number

End index of text markup annotation in the page text content.

textMarkupStartIndex

number

Starting index of text markup annotation in the page text content.