Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>Is it a disk image file (like a loaded mypic.png)? Or a memory image file (something captured to pixel data from an on-screen capture)?
>I have it in a binary memo field at the moment. I can write it out to disk or allocate it to a image control on a form. But how to get the dimensions ?
If you're willing to save it to disk and load it to an image control, then just loImageObj.width and loImageObj.height after loImageObj.Picture is populated will tell you.
Of course, that's in VFP. Not sure how to do it in WinDev. Probably one of the H*() functions. :-)
Précédent
Suivant
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