Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture signature on tablet PC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Divers
Thread ID:
01410635
Message ID:
01410762
Vues:
43
Thanks - this gives me the ability to write a signature, but I'm having trouble getting anything saved. I'm probably making this harder than it needs to be, but I'm trying the following with no luck:
o_object = thisform.olecontrol1.Ink.Save(2)

=SAVEPICTURE(thisform.olecontrol1,"f:\apps\am\stevejunk.bmp")
I have tried using the control itself or the object reference o_object. The latter give me an error, the former silently goes on but does nothing. It appears that save(2) will save in GIF format and savepicture works in bmp format. What's the best way to take what is captured in the olecontrol and save it to a file?

Thanks


>Hi Steve,
>
>> Does anyone know of a method, maybe calling a graphics engine, to allow someone to sign in a box, then pull that info (or a reference to a saved file) that would allow the signature to show/print?
>
>The easiest way would be to insert a "Microsoft Ink Picture Control". You can display the signature later as a GIF file like this:
>
>Thisform.Image1.PictureVal = Thisform.OleControl1.Ink.Save(2)
>
>Use Save without parameters to save it as native Ink. You can call the Load() method to load ink again, but only right after creating the object. Change Visible to .F. and back to .T. to actually display the signature in the control.
Steve Howie, owner
DaSH Technology
Denver, CO
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform