Import signature sizing issue

Product: WebViewer

Product Version: WebViewer 7.2.0

Please give a brief summary of your issue:
We are loading signatures onto WebViewer using importSignatures() passing in a string array of base 64 image. However, we are unable to size the signature annotation before adding it to the document. The image remains relatively small and we have to manually adjust the size of the annotation when added to the document.

For example, the original JPG image size is 421 x 80. However, when imported into WebViewer and added to the document it is sized as 229 x 64. How do we adjust the size of the imported signature annotation so it reflects the original size of the image (421 x 80)?

As a note, we tried using setWidth, setHeight, setRect, adjustRect, resize on the annotation, but it had no effect on that signature annotation or its preview when placed on the document.

Hello there.

Thanks for the question regarding WebViewer.

Could you share the code and the PDF in question?

Best Regards,
Diego Felix
Web Software Developer
PDFTron Systems, Inc.

CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.