Pdfviewer - PdfFormFieldBaseModel
19 Nov 20264 minutes to read
Interface for a class PdfFormFieldBase
Properties
actions ActionsSettingsModel
Get or set the actions associated with the form field (format script).
alignment string
Represents the text anlignment style of formField
backgroundColor string|RGBA
Represents the fill color of the form field
borderColor string|RGBA
Represents the border color of the form field
bounds PdfBoundsModel
Represents bounds of the formField
caption string
Caption drawn at the bottom of the barcode.
color string
Represents the text color of the form field
compressData boolean
Compresses the barcode data before it is encoded.
customData object
specifies the custom data of the form field.
customValue string
Plain string payload used when valueFormat is CustomValue.
errorCorrectionLevel Pdf417ErrorCorrectionLevel|QRErrorCorrectionLevel
Error correction level for the selected symbology.
QR Code accepts Low, Medium, Quartile or High.
PDF417 accepts Level0 through Level8. Ignored for Data Matrix.
fields string[]
Names of the form fields whose values are encoded in the barcode.
Used by TabDelimited and Xml formats; ignored by CustomValue.
font PdfFontModel
Represents the text style of annotation
fontFamily string
Represents the font family of the formField content
fontSize number
Represents the font size of the formField content
fontStyle string
Represents the font style of the formField content
formFieldAnnotationType FormFieldAnnotationType
Represents the annotation type of the form field
id string
Represents the unique id of formField
includeFieldNames boolean
Includes the referenced field names in the generated barcode payload.
insertSpaces boolean
Meaningful only if the MaxLength property is set and the Multiline, Password properties are false.
If set, the field is automatically divided into as many equally spaced position, or combs, as the value of MaxLength, and the text is laid out into the combs.
isChecked boolean
Enable or disable the checkbox state.
isDateField boolean
Specifies whether the text field is a date/time capable field.
isMultiline boolean
Enable or disable the Multiline Textbox.
isPrint boolean
specifies whether the form field are included or not in print actions.
isReadonly boolean
Allows to edit the form Field text.
isRequired boolean
Specified whether an form field element is mandatory.
isSelected boolean
Enable or disable the RadioButton state.
isTransparent boolean
Enable or disable the isTransparent state.
isUnisonSelected boolean
specifies the unison selection of the form field.
maxHeight number
specifies the minHeight of the formField.
maxLength number
specifies the maxLength of the textbox/password.
maxWidth number
specifies the maxWidth of the formField.
minHeight number
specifies the minHeight of the formField.
minWidth number
specifies the minWidth of the formField.
name string
Represents the name of the formField
opacity number
Represents the opecity value of the formField
options ItemModel[]
Gets or sets the items to be displayed for drop down/ listbox.
pageIndex number
Represents the cloud intensity
pageNumber number
Represents the page number
rotateAngle number
Represents the rotate angle of formField
selectedIndex number[]
Gets or sets the items selected in the drop down/ listbox.
signatureIndicatorSettings SignatureIndicatorSettingsModel
Specifies the properties of the signature indicator in the signature field.
signatureType string
specifies the type of the signature.
symbology BarcodeSymbology
Symbology rendered when the field is a BarcodeField.
Mirrors PdfBarcodeSymbology: PDF417, QRCode or DataMatrix.
thickness number
Represents the thickness value of FormField
tooltip string
Represents the tooltip of the form field
value string
Represents the value of the formField
valueFormat BarcodeValueFormat
Format used to combine the referenced field values into the barcode payload.
TabDelimited joins values with a tab, Xml produces XFDF and CustomValue
encodes customValue verbatim.
visibility Visibility
If it is set as Hidden, Html element will be hide in the UI. By default it is visible.
wrapper Container
Represents the cloud intensity
xDimension number
Module (x-dimension) size in points used to generate the barcode.
zIndex number
Represents the cloud intensity