vizicsaba89 / pdf-signer

sign pdf documents
MIT License
37 stars 33 forks source link

Change the 'signature box' size #38

Closed willmartinsmg closed 2 years ago

willmartinsmg commented 2 years ago

I need to change the size of the 'signature box' which is printed in the pdf. It is possible?

box-pdf-signer

willmartinsmg commented 2 years ago

Sorry to inconvenience you, but can you just let me know if you can change the size of the "signature box"?

pankucsi commented 2 years ago

With the signatureCoordinates property, you can change the annotation appearance. You can find an example in the tests files, but let me show you one example:

{
      ...
    annotationAppearanceOptions: {
      signatureCoordinates: { left: 0, bottom: 0, right: 200, top: 200 },
      signatureDetails: [...],
    },
  }

kép