Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen capture using GDIPlusX
Message
 
À
18/09/2014 12:36:19
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01607830
Message ID:
01607834
Vues:
82
J'aime (1)
>Hi folks!
>Using GDIPlusX, how can I capture an entire scrollable screen?
>I've tried the following code, but it only capture the visible screen part...
>
>Local loBmp
>m.loBmp = _Screen.System.Drawing.Bitmap.FromScreen(Thisform.Olecontrol1.HWnd)
>m.loBmp.Save(Addbs(Sys(5)+Sys(2003))+"Image.jpg", _Screen.System.Drawing.Imaging.ImageFormat.Jpeg)
>m.loBmp = Null

Have you tried making the form full height just long enough to capture the screen shot then restoring the height?
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform