PdfAnnotationSettings

6 Jul 20261 minute to read

Represents the base class for annotation-specific information.
This class serves as a foundation for specialized annotation information classes that provide additional properties and functionality for specific annotation types.

Properties

allowedInteractions AllowedInteraction[]

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

Defaults to [‘None’]

annotationSelectorSettings AnnotationSelectorSettingsModel

specifies the annotation selector settings of the annotation.

Defaults to ’’

author string

specifies the author of the annotation.

Defaults to ‘Guest’

bound Rectangle

Get or set the bounds of the annotation.

Defaults to { x: 0, y: 0, width: 0, height: 0 }

customData object

specifies the custom data of the annotation.

Defaults to null

fillColor string

Gets or sets the fill color of the redacted area.

Defaults to ‘#ffffff00’

isLock boolean

specifies the locked action of the annotation.

Defaults to false

isPrint boolean

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

Defaults to true

maxHeight number

specifies the minHeight of the annotation.

Defaults to 0

maxWidth number

specifies the maxWidth of the annotation.

Defaults to 0

minHeight number

specifies the minHeight of the annotation.

Defaults to 0

minWidth number

specifies the minWidth of the annotation.

Defaults to 0

pageNumber number

Get or set page number of the annotation.

Defaults to 1

subject string

specifies the subject of the annotation.

Defaults to ’’

thickness number

specified the thickness of the annotation.

Defaults to 1