FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
|
Represents a signature field in a PDF form, providing methods for verification and retrieval of signature information. More...
Public Member Functions | |
async | getByteRange () |
Retrieves the byte range of the current signature. More... | |
async | getFilter () |
Retrieves the filter of the current signature. More... | |
async | getImage () |
Retrieves the signature image data as a Blob. More... | |
async | getPagingSealConfig () |
Retrieves the paging seal configuration for the current signature. More... | |
async | getSignatureType () |
Retrieves the signature type. More... | |
async | getSigner () |
Retrieves the signer of the current signature. More... | |
async | getSignInfo () |
Retrieves the signature information for the field. More... | |
async | getSubfilter () |
Retrieves the subfilter of the current signature. More... | |
async | isLast () |
Checks whether the current signature is the last one. More... | |
async | isSigned () |
Checks whether the current signature is signed. More... | |
async | verify (options:boolean|SignatureVerificationOptions={}) |
Verifies the signature of a PDF form field, returning the result of the verification as an integer status code. More... | |
![]() | |
async | addOption (item:ChoiceOptionItem) |
Adds an option to the end of the list box or combo box. More... | |
async | deleteOption (index:number) |
Deletes an option by index from the list box or combo box. More... | |
describeFieldFlags () | |
Retrieves the flag options for the current field. More... | |
getAdditionalAction () | |
Retrives the additional action object. More... | |
getAlignment () | |
Retrieves the field's alignment. More... | |
async | getAlternateName () |
Get alternate name. More... | |
getDefaultValue () | |
Retrieves the default value of the field. More... | |
getExtType () | |
Retrieves the extended type information for the current form field. More... | |
getFlags () | |
Retrieves the field's flags. More... | |
getMappingName () | |
Get mapping name. More... | |
getMaxLength () | |
Retrieves the maximum length of the text field. More... | |
getName () | |
Retrives the name of the form field. More... | |
getOptions () | |
Retrieves combo box and list box options. More... | |
getOptionsSize () | |
Retrieves the number of options available in the list box or combo box. More... | |
getType () | |
Get form field's type. More... | |
getValue () | |
Get field value. More... | |
async | getWidget (index:number) |
Get widget annot with specified index. Please call PDFFormField.getWidgetsCount to get count. More... | |
getWidgetsCount () | |
Get the count of field's controls. More... | |
async | insertOption (index:number, item:ChoiceOptionItem) |
Inserts an option at the specified index. More... | |
isCheckedByDefault () | |
Checks if the field is checked by default. More... | |
async | isReadonly () |
Check if the field is read only. More... | |
async | isRequired () |
Check if the field is required. More... | |
async | moveOption (srcIndex:number, destIndex:number) |
Moves an option from one index to another. More... | |
async | selectOption (index:number) |
Selects an option by index in the list box or combo box. More... | |
async | setAlignment (alignment:number) |
Sets the field's alignment (not applicable for signature fields). More... | |
async | setAlternateName (alternateName:string) |
Set alternate name. More... | |
setCheckedByDefault (checked:boolean) | |
Sets the default checked state of the field. More... | |
setDefaultValue (defaultValue:string) | |
Sets the default value of the field. More... | |
async | setMappingName (mappingName:string) |
Set mapping name. (Not support signature field). More... | |
async | setMaxLength (maxLength:number) |
Sets the maximum length for the text field. More... | |
async | setOptions (options:{ label:string;value:string;selected:boolean;defaultSelected:boolean;}[]) |
Sets the options (items) for a list box or combo box. More... | |
setValue (value:string, isTriggerEvent=true) | |
Set field value. More... | |
updateFlagByOptions (options:Partial< FieldFlagOptions >) | |
Updates the field's flags based on the given options. More... | |
async | updateOption (index:number, itemOptions:Partial< ChoiceOptionItem >) |
Updates an option at a specified index. More... | |
![]() | |
addDestroyHook (...hooks) | |
Add a function to destroyHooks list, which will be called during destroy. More... | |
destroy () | |
ownsTo (owner) | |
Establishes an ownership relationship where this instance will be destroyed when the owner is destroyed. Additionally, the owner will be automatically removed from the destroyHooks list when this instance is destroyed. More... | |
Represents a signature field in a PDF form, providing methods for verification and retrieval of signature information.
|
inline |
Retrieves the byte range of the current signature.
Implements ISignatureField.
|
inline |
Retrieves the filter of the current signature.
Filter and subfilter specify which registered signature callback object will be used to sign/verify the current signature.
Implements ISignatureField.
|
inline |
Retrieves the signature image data as a Blob.
|
inline |
Retrieves the paging seal configuration for the current signature.
|
inline |
Retrieves the signature type.
|
inline |
Retrieves the signer of the current signature.
Implements ISignatureField.
|
inline |
Retrieves the signature information for the field.
Implements IFormSignatureField.
|
inline |
Retrieves the subfilter of the current signature.
Filter and subfilter specify which registered signature callback object will be used to sign/verify the current signature.
Implements ISignatureField.
|
inline |
Checks whether the current signature is the last one.
|
inline |
Checks whether the current signature is signed.
Implements ISignatureField.
|
inline |
Verifies the signature of a PDF form field, returning the result of the verification as an integer status code.
Example::
options | boolean|SignatureVerificationOptions - Configuration options for the verification process,if the options is a boolean, it will be treated as the force parameter. |
Error | if the signature field is not signed. |
Error | if the verification handler is not specified. |