Signature Capture

  • Thread starter Thread starter bing
  • Start date Start date
B

bing

All,

I'm developing an application for 2D barcode and signature scanning.
I've seen a few CE devices with this feature built in. Specifically,
the Casio DX-10 (DX-1), Psion Workabout Pro, and Intermec KC-30.

Does anyone have experience with this sort of application? Any advice
on what to look for or what to avoid would be appreciated.
-bing
 
Check out the RichInk component in Visual Studio 2005 and the .NET
Compact Framework 2.0.
 
Check out the RichInk component in Visual Studio 2005 and the .NET
Compact Framework 2.0.

The Intermec CK30 and 700 will also normalize the captured image.
(rotate/skew/zommin-out)

Ronald.
 
Thanks so much Sergey, it's working great so far. I have a clear
button on my form that I want to use to clear the bitmap out and start
over, so the control is blank, but I can't figure out how to do that.

If I do this... pictureBox1.Dispose()

that just disposes of it and I can't figure out how to get a new
instance of the control working. Can you provide some insight?

Thanks
 
See the constructor there are following lines that clear image:

Brush fillBrush = new System.Drawing.SolidBrush(Color.White);
gr.FillRectangle(fillBrush, ClientRectangle);
fillBrush.Dispose();

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
So basically, If I create a function in your class like

public Clear()
{
Brush fillBrush = new System.Drawing.SolidBrush(Color.White);
gr.FillRectangle(fillBrush, ClientRectangle);
fillBrush.Dispose();
}

and call that from my OnClick event in my form, that should do the
trick, correct?
 
One more thing, I suppose you also need to Invalidate() control that
bitmap will be reflected in Control client area:

public Clear()
{
Brush fillBrush = new System.Drawing.SolidBrush(Color.White);
gr.FillRectangle(fillBrush, ClientRectangle);
fillBrush.Dispose();
Invalidate();
}
Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
Back
Top