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:
01608108
Vues:
75
J'aime (1)
Just a side remark: You probably don't want to capture your screen to jpeg, but rather use PNG. You'll get much smaller images if you're capturing typical forms or non-image data.

+++ Rick ---

>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
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform