interface SignatureType { clearSignatureByIndex: (doc: DocType, index: number) => Promise<boolean>; clearSignatureByName: (doc: DocType, fieldName: string) => Promise<boolean>; getDocSignatureCount: (doc: DocType) => Promise<number>; getSignatureInfoByIndex: ( doc: DocType, index: number, ) => Promise<SignatureInfoType>; getSignatureInfoByName: ( doc: DocType, name: string, ) => Promise<SignatureInfoType>; signatureSignByName: ( fieldName: string, doc: DocType, signatureInfo: SignatureBaseInfoType, saveSignFilePath: string, openSignDoc: boolean, ) => Promise<boolean>;} Properties
clearSignatureByIndex
clearSignatureByIndex: (doc: DocType, index: number) => Promise<boolean> Type declaration
- (doc: DocType, index: number): Promise<boolean>
Returns Promise<boolean>
clearSignatureByName
clearSignatureByName: (doc: DocType, fieldName: string) => Promise<boolean> Type declaration
- (doc: DocType, fieldName: string): Promise<boolean>
Returns Promise<boolean>
getDocSignatureCount
getDocSignatureCount: (doc: DocType) => Promise<number> Type declaration
- (doc: DocType): Promise<number>
Returns Promise<number>
signatureSignByName
signatureSignByName: ( fieldName: string, doc: DocType, signatureInfo: SignatureBaseInfoType, saveSignFilePath: string, openSignDoc: boolean,) => Promise<boolean> Type declaration
- (
fieldName: string,
doc: DocType,
signatureInfo: SignatureBaseInfoType,
saveSignFilePath: string,
openSignDoc: boolean,
): Promise<boolean> Returns Promise<boolean>
清除签名。