Click here to Skip to main content
12,698,531 members (23,495 online)
Click here to Skip to main content
Add your own
alternative version


27 bookmarked

Signature Capture in C# in Handheld or PocketPC

, 25 Feb 2004 CPOL
Rate this:
Please Sign up or sign in to vote.
Signature Capture in C# capturinig the signature in a txt file and reload from the txt file, in server side the txt file can be converted to a jpg file using java

Sample screenshot Sample screenshot


Signature Capture is a cool c# code for client which will allows you to draw a signature and save that in a .txt file that can be reloaded at a later time. The .txt file can be converted to a .jpg file with java code.

MainForm.cs is the c# Form which capture the signature. It collects and displays a signature which is made up of a list of line segments. Each segment contains an array of points (x and y coordinates). Drawing is done to a memory bitmap to prevent flickering.

It has Clear Button, Load Button and Save Button which incorporate the code.

SignatureControl.cs is a control class which gives lots of properties and methods to capture the signature from the form.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

India India
No Biography provided

You may also be interested in...


Comments and Discussions

AnswerSave the signature as Immage Pin
Member 1035520319-Feb-14 7:52
memberMember 1035520319-Feb-14 7:52 
NewsWeb - Windows Signature Capture Pin
jay_dubal5-Apr-11 0:51
memberjay_dubal5-Apr-11 0:51 
Questionhow save the signcapture in image form using C# Pin
sunny dhiman30-Jun-10 22:53
membersunny dhiman30-Jun-10 22:53 
AnswerRe: how save the signcapture in image form using C# Pin
anasbazbaz23-Mar-11 6:54
memberanasbazbaz23-Mar-11 6:54 
GeneralSave as bitmap Pin
Paulo Mitchell8-May-09 23:08
memberPaulo Mitchell8-May-09 23:08 
GeneralRe: Save as bitmap Pin
sunny dhiman30-Jun-10 22:30
membersunny dhiman30-Jun-10 22:30 
GeneralASP.NET web signature capture Pin
jay_dubal1-Nov-08 18:09
memberjay_dubal1-Nov-08 18:09 
QuestionNot able to execute the code Pin
harsh_jnu25-Dec-07 20:19
memberharsh_jnu25-Dec-07 20:19 
Generalget the jpg Pin
Maha Ibrahim10-Jan-07 21:26
memberMaha Ibrahim10-Jan-07 21:26 
GeneralConvert Txt to Image using C# [modified] Pin
Tamiil14-Nov-06 20:28
memberTamiil14-Nov-06 20:28 
QuestionASP.NET? Pin
snowdog8507-Nov-06 5:18
membersnowdog8507-Nov-06 5:18 
AnswerRe: ASP.NET? Pin
jay_dubal26-Aug-08 6:40
memberjay_dubal26-Aug-08 6:40 
GeneralWhat's the point of this Pin
Anonymous18-Jan-05 17:18
sussAnonymous18-Jan-05 17:18 
It's nice that you can capture someone's signature, but I don't see how you can tye this to a particular data record. If you save someones signature, what's to keep you from attaching the signature file to another fraudulent data record. All this does is provide a client/customer with a false sense of security, when in fact it's less secure. The correct way (and therefore more difficult way) to do this is to take the data from the data record and the signature and digitaly sign it with the customers private key. well blah, blah, blah just showing off my knowledge, I'm sure some expert in the field will come along and put me in my place. But maybe I'm missing something, what is the point of capturing someones signature like this?
GeneralRe: What's the point of this Pin
Anonymous7-Feb-05 12:28
sussAnonymous7-Feb-05 12:28 
GeneralSignature Capture Pin
Youngoz13-Dec-04 8:04
sussYoungoz13-Dec-04 8:04 
GeneralWinCE.Net not running Pin
schorschii2-Sep-04 21:43
memberschorschii2-Sep-04 21:43 
GeneralRe: WinCE.Net not running Pin
Anonymous17-Jan-05 1:45
sussAnonymous17-Jan-05 1:45 
AnswerRe: WinCE.Net not running Pin
duffer_0124-Nov-06 4:19
memberduffer_0124-Nov-06 4:19 
GeneralRe: WinCE.Net not running Pin
chodi8-Feb-07 5:37
memberchodi8-Feb-07 5:37 
Questionsave as image on the server code? Pin
Sarnil Prasad2-Mar-04 23:47
memberSarnil Prasad2-Mar-04 23:47 
AnswerRe: save as image on the server code? [modified] Pin
duffer_0124-Nov-06 4:06
memberduffer_0124-Nov-06 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 26 Feb 2004
Article Copyright 2004 by gitansu
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid