Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to GetBitmapDimensionEx?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00438099
Message ID:
00438284
Views:
9
>Just before I logged back in, I was "MODI COMM"ing some bmps I made with paint and converting them to "FoxFont" and then chasing suspects with ?ASC(_CLIPTEXT). This was very helpful. Someday, I too, may become a "Master of The Obvious". Thanks a lot!

It's really pretty simple to extract the value from a string. Using the code Ed previously posted
* lcbmp is the filename
cDimensionStruc = FILETOSTR(lcbmp)
nXSize = DWORDToNum(SUBSTR(cDimensionStruc, 19, 4)) && Width
nYSize = DWORDToNum(SUBSTR(cDimensionStruc, 23, 4)) && Height
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform