FoxitPDFSDKforWeb v12.0.0
Foxit PDF SDK for Web
SignatureAnnot Class Reference

Represents a PDF form signature annotation component in the PDF viewer. This class is responsible for handling the PDF form signature annotation component's lifecycle, rendering, and context menu configuration. More...

Inherits WidgetAnnot.

Public Member Functions

async signDoc (settings:SignDocInfo, sign:DigestSignHandler)
 Signs the PDF document with the given sign settings and sign handler. The signed document will be opened in the viewer. More...
 
async startSignWorkflow (isCertifySign:boolean=false)
 启动签名流程。 默认实现:打开对话框供用户签署文档,并通过 validatePresign 进行 presign 校验。 More...
 
async startVerifyWorkflow ()
 启动验证流程。 默认实现:打开对话框显示签名验证结果。 More...
 

Protected Member Functions

async handleOnClick (isCertifySign:boolean=false)
 Handles the click event on the signature annot. More...
 

Detailed Description

Represents a PDF form signature annotation component in the PDF viewer. This class is responsible for handling the PDF form signature annotation component's lifecycle, rendering, and context menu configuration.

Since
11.0.0

Member Function Documentation

◆ handleOnClick()

async SignatureAnnot::handleOnClick (   isCertifySign:boolean = false)
inlineprotected

Handles the click event on the signature annot.

This method can be overridden in subclasses to provide custom behavior for handling the click event by registering a mixin function with the ViewerAnnotManager.registerMatchRule method.

Returns
void -
See also
ViewerAnnotManager.registerMatchRule
Since
11.0.0

◆ signDoc()

async SignatureAnnot::signDoc (   settings:SignDocInfo,
  sign:DigestSignHandler 
)
inline

Signs the PDF document with the given sign settings and sign handler. The signed document will be opened in the viewer.

Parameters
settingsSignDocInfo - The sign settings.
signDigestSignHandler - The sign handler.
Returns
Promise<void> - A promise that resolves when the document is signed.
See also
PDFDoc.sign

◆ startSignWorkflow()

async SignatureAnnot::startSignWorkflow (   isCertifySign:boolean = false)
inline

启动签名流程。 默认实现:打开对话框供用户签署文档,并通过 validatePresign 进行 presign 校验。

Returns
Promise<void> - 流程完成时 resolve
Since
11.1.0
See also
PDFViewer.getAnnotManager
ViewerAnnotManager.registerMatchRule
ISignDocDialog
ISignatureUI
validatePresign

◆ startVerifyWorkflow()

async SignatureAnnot::startVerifyWorkflow ( )
inline

启动验证流程。 默认实现:打开对话框显示签名验证结果。

Returns
Promise<void> - 流程完成时 resolve
Since
11.1.0
See also
PDFViewer.getAnnotManager
ViewerAnnotManager.registerMatchRule
ISignVerifiedResultDialog
ISignatureUI

Foxit Software Corporation Logo
@2026 Foxit Software Incorporated. All rights reserved.