Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can SignaturePad Add SaveToStream feature or Silent Download?
#2
Good day to you too! :-)

Silent download?

I think you are mixing upload and download. Download means that the user can download the image to his own computer and save it into a local folder.

If you want to save it into a blob field you need to upload the image (from the browser to the server), and that won't popup any dialog ever.

In order to save it anywhere you just need to fill the OnPngImageUploaded event.

That event will trigger when the method UploadPngImage() is called and the second parameter (aImage) is a TPngImage object which contains the image uplodated.

You can take this TPngImage and do whatever you want with it (do not free it, though), including saving to a file or to a stream.

Does it make sense?
Reply


Messages In This Thread
RE: Can SignaturePad Add SaveToStream feature or Silent Download? - by Alexandre Machado - 08-04-2022, 09:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)