Class: SignatureWidget

PDFNet. SignatureWidget


new SignatureWidget()

[Missing documentation]

Methods


<static> create(doc, pos, field_name)

Constructor
Parameters:
Name Type Description
doc PDFNet.PDFDoc
pos PDFNet.Rect
field_name string
Returns:
A promise that resolves to an object of type: "SignatureWidget"
Type
Promise.<PDFNet.SignatureWidget>

<static> createFromAnnot(annot)

Parameters:
Name Type Description
annot PDFNet.Annot
Returns:
A promise that resolves to an object of type: "SignatureWidget"
Type
Promise.<PDFNet.SignatureWidget>

<static> createFromObj(obj)

Parameters:
Name Type Description
obj PDFNet.Obj
Returns:
A promise that resolves to an object of type: "SignatureWidget"
Type
Promise.<PDFNet.SignatureWidget>

<static> createWithDigitalSignatureField(doc, pos, field)

Parameters:
Name Type Description
doc PDFNet.PDFDoc
pos PDFNet.Rect
field PDFNet.DigitalSignatureField
Returns:
A promise that resolves to an object of type: "SignatureWidget"
Type
Promise.<PDFNet.SignatureWidget>

<static> createWithField(doc, pos, field)

Parameters:
Name Type Description
doc PDFNet.PDFDoc
pos PDFNet.Rect
field PDFNet.Field
Returns:
A promise that resolves to an object of type: "SignatureWidget"
Type
Promise.<PDFNet.SignatureWidget>

createSignatureAppearance(img)

Parameters:
Name Type Description
img PDFNet.Image

getDigitalSignatureField()

Returns:
A promise that resolves to an object of type: "DigitalSignatureField"
Type
Promise.<PDFNet.DigitalSignatureField>