Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image dimensions
Message
De
13/12/2018 10:21:13
 
 
À
13/12/2018 10:07:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01664455
Message ID:
01664462
Vues:
57
>>>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. :-)

In WD:

MyImage is image = load an image file here
MyImage..Height
MyImage..Width

A lot like Christian's solution isn't it ? :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform