Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drawing ActiveX?
Message
De
22/12/2005 14:38:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01079923
Message ID:
01080300
Vues:
31
Hi,

I used some of the code to save the form that was being drawn on, but it saves the title bar and everything, not just the drawing :(

I'm off to dig into the ffc stuff...

>Frank,
>That class doesn't use GDI+, but with it you could save only the Drawing part of the form in BMP. I couldn't be in great help with GDP+ classes :o(
>
>>Thanks Borislav,
>>
>>I guess I can use some of the code from that to take a screen shot of the form with the drawing on it and create a bitmap file, but I was assuming there would be some way using GDI+ to save just the drawing part. I have come across some FoxTalk articles which talk about creating thumbnails of image files and saving them, but not how to save the image itself.
>>
>>I'll take a closer look at the ffc\_gdiplus.vcx stuff and see if there is a save function there.
>>
>>>>Hey Borislav,
>>>>
>>>>the solutions sample doesn't show how to save the image that is drawn. Have you come across anywhere that shows how to do this?
>>>>
>>>>
>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I am working on an application for an Optometrist. They want the ability to be able to create illustrations for helping explain to the patient what is going on. Has anybody used a free-hand drawing tool/activeX with VFP? Maybe the GDI+ stuff will help me do it all from within VFP?
>>>>>>
>>>>>>Any and all suggestions welcome.
>>>>>
>>>>>Check Draw lines and shapes on a form in Samples that comes with VFP
>>>
>>>Here in Download section there is a class named Obj2Bmp Download #9573
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform