FoxitPDFSDKforWeb v11.0.2
Foxit PDF SDK for Web
|
Represents the properties of a PDF form field, encapsulating details about its availability, visibility, value presence, and the actual value. More...
Public Member Functions | |
Function | onchange (callback) |
Register a callback function that is called when the form property changes. More... | |
Public Attributes | |
boolean | available |
Indicates whether the form property is available for interaction. May be false when multiple form widgets are activated. More... | |
boolean | hasValue |
Indicates whether the form property currently holds a value. May be false when multiple form widgets are activated and their values are not the same. | |
T | value |
The value of the form property. When hasValue is false, the value must be undefined. | |
boolean | visible |
Indicates whether the form property is visible to the user. May be false when multiple form widgets are activated. More... | |
Represents the properties of a PDF form field, encapsulating details about its availability, visibility, value presence, and the actual value.
Example (examples/UIExtension/form/custom-form-properties-editor):
Function PDFFormProperty< T >::onchange | ( | callback | ) |
Register a callback function that is called when the form property changes.
callback | (hasValue:boolean,value:T|undefined)=>void - The callback function that is called when the form property changes. |
boolean PDFFormProperty< T >::available |
Indicates whether the form property is available for interaction. May be false when multiple form widgets are activated.
boolean PDFFormProperty< T >::visible |
Indicates whether the form property is visible to the user. May be false when multiple form widgets are activated.