Search results

FreeTextSettingsModel API in JavaScript (ES5) PDF Viewer API control

Interface for a class FreeTextSettings

Properties

allowEditTextOnly

boolean

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

allowedInteractions

AllowedInteraction[]

Gets or sets the allowed interactions for the locked free text annotations. IsLock can be configured using free text 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.

borderStyle

string

specifies the border style of the annotation.

borderWidth

number

specifies the border with of the annotation.

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 FreeText 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

Allow to edit the FreeText annotation. FALSE, by default.

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.

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.