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 Quote 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. Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.