Ginny
Wed May 24 07:16:04 CDT 2006
Rob,
Here's some code that uses that signature control and writes the signature
out as a PNG file. It would be the same for BMP except you'd use
ImageFormat.Bmp and the file would be much bigger:
FileStream fs = new FileStream(BmpFileName, FileMode.Create);
Bitmap bitmap = sigControl.Bmp;
bitmap.Save(fs, System.Drawing.Imaging.ImageFormat.Png);
fs.Close();
--
Ginny Caughey
.NET Compact Framework MVP
"Rob" <rwchome@comcast.net> wrote in message
news:esCdnbiByOKSJ-7ZnZ2dneKdnZydnZ2d@comcast.com...
> Ginny,
>
> Thanks for the link, it maybe it is easy for you to modify.... but I have
> been spinning in circles for days now... can you give me some hints as to
> what is relevant to just obtaining and saving the signature ? I just
> want to store the signature to a jpg or bmp. I have tried to
> compartmentalize the sample into just the pieces I need but am having
> great difficulties.
>
> I am using vb.net, not C#...
>
> Thanks,
> Rob
>
>
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> wrote in
> message news:esVabNteGHA.3456@TK2MSFTNGP05.phx.gbl...
>> Rob,
>>
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PPCSignatureApp.asp
>>
>> Although this sample sends the signature to another machine, it's easy to
>> modify the sample to store the signature instead.
>>
>> --
>> Ginny Caughey
>> .NET Compact Framework MVP
>>
>>
>> "Rob" <rwchome@comcast.net> wrote in message
>> news:rfGdnbEu8p4tc_HZnZ2dnUVZ_tydnZ2d@comcast.com...
>>> Just starting out with Mobile apps....
>>>
>>> Any guidence on how I might do the following...
>>>
>>> Save a copy of the signature that the receiver of an order would provide
>>> (it would be scribbled onto the Pocket PC) and saved to some kind of
>>> file (maybe a .jpeg), then store the contents of that file in a sql
>>> server table ? or maybe just store the path to the file there ?
>>>
>>> Any direction is appreciated...
>>>
>>> Thanks !
>>>
>>>
>>>
>>>
>>
>>
>
>