asapltda Posted February 13, 2021 Share Posted February 13, 2021 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 More sharing options...
andyhill Posted February 14, 2021 Share Posted February 14, 2021 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 More sharing options...
Tokay Posted February 14, 2021 Share Posted February 14, 2021 15 hours ago, asapltda said: What function or process should I use to check if the TMemoryStream has a content? .Size ? more than zero Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now