getSignatureImageBlob

Returns the signature of a signature control as a png (default) or svg image blob.

Parameters

  1. controlId - The id of the signature control

  2. 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 = brixxApi.getSignatureImageBlob("mySignature"); //gets the blob as PNG
   let myBlob = brixxApi.getSignatureImageBlob("mySignature", "svg"); //gets the blob as SVG
   brixxApi.printBlob(brixxApi.getSignatureImageBlob("mySignature"));

Last updated