Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing ActiveX?
Message
From
22/12/2005 14:38:23
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01079923
Message ID:
01080300
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform