Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image dimensions
Message
From
13/12/2018 10:21:13
 
 
To
13/12/2018 10:07:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01664455
Message ID:
01664462
Views:
56
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform