Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From clipboard to blob field
Message
 
 
À
26/09/2008 16:53:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350906
Message ID:
01351122
Vues:
21
Mostly on Cesar's website.

>Is there a manual for gdiplusx somewhere?
>Peter
>
>>>How can I replace a blob field with the content of the clipboard. I have an image from Snagit in the clipboard and need to put it into a blob field
>>>
>>>possible??
>>
>>Here is a code sample using GDIPlusX
>>
>>
>>DO SYSTEM.APP
>>WITH _SCREEN.System.Drawing
>>  loBMP = .Bitmap.FromClipboard()
>>  REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Bmp)
>>  ** or **
>>  REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Jpeg)
>>  ** or **
>>  REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Png)
>>ENDWITH
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform