Click here to Skip to main content
11,703,505 members (75,064 online)
Click here to Skip to main content

Signature Capture in C# in Handheld or PocketPC

, 25 Feb 2004 CPOL 87.8K 2.3K 27
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

Introduction

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.

License

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

Share

About the Author

gitansu
India India
No Biography provided

You may also be interested in...

Comments and Discussions

 
AnswerSave the signature as Immage Pin
Member 1035520319-Feb-14 6:52
memberMember 1035520319-Feb-14 6:52 
NewsWeb - Windows Signature Capture Pin
jay_dubal4-Apr-11 23:51
memberjay_dubal4-Apr-11 23:51 
Questionhow save the signcapture in image form using C# Pin
sunny dhiman30-Jun-10 21:53
membersunny dhiman30-Jun-10 21:53 
AnswerRe: how save the signcapture in image form using C# Pin
anasbazbaz23-Mar-11 5:54
memberanasbazbaz23-Mar-11 5:54 
GeneralSave as bitmap Pin
Paulo Mitchell8-May-09 22:08
memberPaulo Mitchell8-May-09 22:08 
GeneralRe: Save as bitmap Pin
sunny dhiman30-Jun-10 21:30
membersunny dhiman30-Jun-10 21:30 
GeneralASP.NET web signature capture Pin
jay_dubal1-Nov-08 17:09
memberjay_dubal1-Nov-08 17:09 
QuestionNot able to execute the code Pin
harsh_jnu25-Dec-07 19:19
memberharsh_jnu25-Dec-07 19:19 
Generalget the jpg Pin
Maha Ibrahim10-Jan-07 20:26
memberMaha Ibrahim10-Jan-07 20:26 
GeneralConvert Txt to Image using C# [modified] Pin
Tamiil14-Nov-06 19:28
memberTamiil14-Nov-06 19:28 
QuestionASP.NET? Pin
snowdog8507-Nov-06 4:18
membersnowdog8507-Nov-06 4:18 
AnswerRe: ASP.NET? Pin
jay_dubal26-Aug-08 5:40
memberjay_dubal26-Aug-08 5:40 
GeneralWhat's the point of this Pin
Anonymous18-Jan-05 16:18
sussAnonymous18-Jan-05 16: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 11:28
sussAnonymous7-Feb-05 11:28 
GeneralSignature Capture Pin
Youngoz13-Dec-04 7:04
sussYoungoz13-Dec-04 7:04 
GeneralWinCE.Net not running Pin
schorschii2-Sep-04 20:43
memberschorschii2-Sep-04 20:43 
GeneralRe: WinCE.Net not running Pin
Anonymous17-Jan-05 0:45
sussAnonymous17-Jan-05 0:45 
AnswerRe: WinCE.Net not running Pin
duffer_0124-Nov-06 3:19
memberduffer_0124-Nov-06 3:19 
GeneralRe: WinCE.Net not running Pin
chodi8-Feb-07 4:37
memberchodi8-Feb-07 4:37 
Questionsave as image on the server code? Pin
Sarnil Prasad2-Mar-04 22:47
memberSarnil Prasad2-Mar-04 22:47 
AnswerRe: save as image on the server code? [modified] Pin
duffer_0124-Nov-06 3:06
memberduffer_0124-Nov-06 3:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.150819.1 | Last Updated 26 Feb 2004
Article Copyright 2004 by gitansu
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid