Click here to Skip to main content
Click here to Skip to main content

Signature Capture in C# in Handheld or PocketPC

, 25 Feb 2004
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

Comments and Discussions

 
AnswerSave the signature as Immage PinmemberMember 1035520319-Feb-14 6:52 
NewsWeb - Windows Signature Capture Pinmemberjay_dubal4-Apr-11 23:51 
Questionhow save the signcapture in image form using C# Pinmembersunny dhiman30-Jun-10 21:53 
AnswerRe: how save the signcapture in image form using C# Pinmemberanasbazbaz23-Mar-11 5:54 
GeneralSave as bitmap PinmemberPaulo Mitchell8-May-09 22:08 
GeneralRe: Save as bitmap Pinmembersunny dhiman30-Jun-10 21:30 
GeneralASP.NET web signature capture Pinmemberjay_dubal1-Nov-08 17:09 
QuestionNot able to execute the code Pinmemberharsh_jnu25-Dec-07 19:19 
Generalget the jpg PinmemberMaha Ibrahim10-Jan-07 20:26 
GeneralConvert Txt to Image using C# [modified] PinmemberTamiil14-Nov-06 19:28 
QuestionASP.NET? Pinmembersnowdog8507-Nov-06 4:18 
AnswerRe: ASP.NET? Pinmemberjay_dubal26-Aug-08 5:40 
GeneralWhat's the point of this PinsussAnonymous18-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 PinsussAnonymous7-Feb-05 11:28 
GeneralSignature Capture PinsussYoungoz13-Dec-04 7:04 
GeneralWinCE.Net not running Pinmemberschorschii2-Sep-04 20:43 
GeneralRe: WinCE.Net not running PinsussAnonymous17-Jan-05 0:45 
AnswerRe: WinCE.Net not running Pinmemberduffer_0124-Nov-06 3:19 
GeneralRe: WinCE.Net not running Pinmemberchodi8-Feb-07 4:37 
Questionsave as image on the server code? PinmemberSarnil Prasad2-Mar-04 22:47 
AnswerRe: save as image on the server code? [modified] Pinmemberduffer_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 | Mobile
Web01 | 2.8.140827.1 | Last Updated 26 Feb 2004
Article Copyright 2004 by gitansu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid