Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking to copy a section of a form to a GIF or BMP or??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01074724
Message ID:
01074735
Vues:
13
There are at least three API approaches to screen/form printing or copying to an image file:
1) GDI API
2) Metafile API
3) GDI+ API

The GDI API creates bitmap files only.
The Metafile API produces the shortest code, creates EMF files.

The GDI+ API offers the best functionality. To use it a GDI+ class library is required. VFP9 installation includes a GDI+ Foundation Class. Also there are several alternative GDI+ libraries around.

Several FoxPro code samples on my web site (membership required) show how to copy a form or a window to an image file.

Storing screen shot of a form to bitmap file -- uses GDI API calls to create *.bmp files
http://www.news2news.com/vfp/?example=187

Storing screen shot of a form to enhanced metafile -- uses Metafile API calls to create *.emf files
http://www.news2news.com/vfp/?example=402

GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF) -- uses GDI+ API calls to create graphics files in several formats
http://www.news2news.com/vfp/?example=454
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform