Information générale
Catégorie:
Gestionnaire d'écran & Écrans
The Obj2BMP class worked great. Problem solved. Thanks a million.
Steven
>Steven,
>
>If you've been able to draw the picture onto a VFP form or the VFP _screen then you can use the Obj2BMP tool that George Tasker has uploaded here to capture the image to a BMP and simply print it either via a report or a ShellExecute() call to paint.
>
>AFAIK Paint is not an automation client, you can probably do a web search and find something like that though.
>
>>I have only one problem left, which is to print the drawing. I could have probably programatically drawn on a report form (I have done that before) but there are no diagonal lines on the report formatter. So, I am left with two options:
>>
>>1) Finding a way to send the drawing that I have on screen to the printer. I don't think FoxPro can do this, but correct me if I am wrong.
>>2) Go back to the Visio scenario. However, as this would require anyone using my software to have visio, and this time I really only want to make a sketch drawing, is it possible to automated, say, Paint, in the same way. The advantage is that everyone with Windows has paint, so he needs no special software.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement