Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to GetBitmapDimensionEx?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00438099
Message ID:
00438284
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform