Jump to content

TMemoryStream has content?


asapltda

Recommended Posts

Good morning, using unigui to capture the signature using a screen of a pda androit,

I require to check if the person signed to record the signature in the database, and in case he has not signed generate an alert and not change the database.

 What function or process should I use to check if the TMemoryStream has a content?                          

  var
    G_FStreamFIRMA : TMemoryStream;
Start 
 UniCanvas_FIRMA. SaveToStream(G_FStreamFIRMA, tiPNG);
....  

 

gracias

Link to comment
Share on other sites

I guess you could compare the original blank canvas (I assume initialized to white) with the now saved canvas SaveToStream (no longer all white if signed [contains black mouse lines {signature}]) ? As for real signature as opposed to garbage that is a whole other matter.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...