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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...