Pdfviewer - CalloutSettingsModel

18 Nov 20262 minutes to read

Interface for a class CalloutSettings

Properties

allowEditTextOnly boolean

specifies the allow text only action of the callout text annotation.

allowedInteractions AllowedInteraction[]

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

annotationSelectorSettings AnnotationSelectorSettingsModel

specifies the annotation selector settings of the annotation.

author string

specifies the author of the annotation.

borderColor string

specifies the border color of the annotation.

borderDashArray number[]

Specifies the border dash array of the callout annotation when rendered with a
dashed border style. Inherited from FreeTextSettings because callouts are

borderStyle string

specifies the border style of the annotation.

borderWidth number

specifies the border width of the annotation.

calloutLines IPoint[]|null

Three-point geometry of the callout leader line:
[origin, knee, target]. When null the viewer auto-computes the geometry
from the click offset supplied to addAnnotation('Callout', options).

cloudIntensity number

Specifies the cloud intensity of the callout annotation when rendered with a
cloud border style. The minimum allowed value is 1, and the maximum allowed value is 2.
Inherited from FreeTextSettings because callouts are

customData object

specifies the custom data of the annotation.

defaultText string

setting the default text for annotation.

enableAutoFit boolean

Enable or disable auto fit mode for callout annotation in the Pdfviewer. FALSE by default.

fillColor string

specifies the background fill color of the annotation.

fontColor string

specifies the text box font color of the annotation.

fontFamily string

specifies the text box font family of the annotation.

fontSize number

specifies the text box font size of the annotation.

fontStyle FontStyle

applying the font styles for the text.

height number

specifies the height of the annotation.

isLock boolean

specifies the locked action of the annotation.

isPrint boolean

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

isReadonly boolean

Enables or disables text editing for the annotation. FALSE, by default.

lineEndingStyle LineHeadStyle

Specifies the line-ending style rendered at the leader origin (arrowhead).
Reuses the existing LineHeadStyle enum.

maxHeight number

specifies the maxHeight 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.

offset IPoint

Get or set offset of the annotation.

opacity number

specifies the opacity of the annotation.

pageNumber number

Get or set page number of the annotation.

subject string

specifies the subject of the annotation.

textAlignment TextAlignment

Aligning the text in the annotation.

width number

specifies the width of the annotation.