Unplanned
Last Updated: 17 Jul 2023 21:30 by ADMIN
Created by: Stephen
Comments: 1
Category: SignaturePad
Type: Feature Request
0

Hi Team,

I need to be able to save and reload the user's signature into the SignaturePad. Currently the control doesn't let you access the vector data from the user' strokes, so I am forced to always save the signature as an image.

If you expose the underlying vectors, say in the StrokeCompleted event, then I could save the vector data to a file. Then I could re-load that vector data directly back into the SignaturePad.

Thank you,

Stephen

Unplanned
Last Updated: 10 Mar 2023 11:04 by Aaron Abdis

The signatures are stored in the database as a string, representing the point data of all the lines in the signature.
For example, something like 

"1,2;3,4;5,6;7,8/10,11;12,13;14,15/21,22;23,24;25,26"

Where the string is line-data separated by "/", and the line data is x,y point data separated by semi-colons. 

We don't need the component to present the data exactly that way... we can take care of formatting it how we need, as long as the component exposes a way to get the point and line data.