Search results

FormFieldModel API in JavaScript (ES5) PDF Viewer API control

Interface for a class FormField

Properties

alignment

string

Get or set the text alignment of the form field.

backgroundColor

string

Get or set the background color of the form field in hexadecimal string format.

borderColor

string

Get or set the border color of the form field.

bounds

IFormFieldBound

Get or set the form field bounds.

color

string

Get or set the font color of the form field in hexadecimal string format.

fontFamily

string

Get or set the font family of the form field.

fontName

string

specifies the fontName of the signature.

fontSize

number

Get or set the font size of the form field.

fontStyle

FontStyle

Get or set the font Style of form field.

id

string

Gets the id of the form field.

isPrint

boolean

Get or set the boolean value to print the form field. TRUE by default.

isReadOnly

boolean

If it is set as true, can’t edit the form field in the PDF document. By default it is false.

isRequired

boolean

Gets or set the is Required of form field.

maxLength

number

Get or set the maximum character length.

name

string

Gets the name of the form field.

options

ItemModel[]

Get or set the form field items. This can be Dropdown items or Listbox items.

signatureIndicatorSettings

SignatureIndicatorSettingsModel

Specifies the properties of the signature indicator in the signature field.

signatureType

SignatureType[]

specifies the type of the signature.

thickness

number

Get or set the thickness of the form field.

tooltip

string

Get or set the text to be displayed as tooltip. By default it is empty.

type

string

Gets the type of the form field.

value

string

Gets or sets the value of the form field.

visibility

VisibilityState

Gets or set the visibility of the form field.