
Tablet PC InkPicture Control
Ira,
To save ink as an image, you can set the persistence format to IPF_GIF on
the call to save. Your code should look something like this:
Dim SavedInk as Byte()
SavedInk = InkPicture1.Ink.Save(IPF_GIF)
To get your Ink saved as a string, just use the Base64 version of the
persistence format. Here's another sample:
Dim SavedInk as String
SavedInk = InkPicture1.Ink.Save(IPF_Base64GIF)
Please post any more questions to
microsoft.public.windows.tabletpc.developer
Thanks,
Arin Goldberg
Program Manager
Tablet PC Platform
--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Quote:
> I am trying to use the InkPicture control to capture a
> sketch and a signature (two uses). I need to take
> the "inked" image and save it as a graphics file (DIB,
> BMP, JPG - anything, once saved I can convert to other
> formats). How can I do this in VB6?
> Also (separate question), can the "ink" image be saved as
> a string in VB6?
> I've looked at the samples the the Tablet PC SDK CD, but
> (1) they have very few VB6 examples, and (2) the don't
> show this anyway.
> Thanks
> Ira