getSignatureImageBlob
Returns the signature of a signature control as a png (default) or svg image blob.
Parameters
controlId - The id of the signature control
type - optional, if not set, the function returns a png image. If set to "svg", the function returns a svg vector image.
Example Usages
let myBlob = app.getSignatureImageBlob("mySignature"); //gets the blob as PNG
let myBlob = app.getSignatureImageBlob("mySignature", "svg"); //gets the blob as SVG
app.printBlob(app.getSignatureImageBlob("mySignature"));
Return Values
The getSignatureImageBlob function returns a Promise that resolves to a Blob containing the image data of the signature represented by the specified controlId and type.
Last updated
Was this helpful?