Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you get height and width of an image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Divers
Thread ID:
01443957
Message ID:
01444044
Vues:
70
Russell, I edited this post after originally creating it (with different content). Just wanted to make sure you saw this code that works for me.
** Pass rnWidth and rnHeight by reference

lparameters lcFileNameWPath,rnWidth,rnHeight

LOCAL loImage,lnWidth,lnHeight
loImage=LoadPicture(lcFileNameWPath)
rnWidth = round(loImage.width/26.458,0)
rnHeight = round(loImage.height/26.458,0)
Brandon Harker
Sebae Data Solutions
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform