Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image dimensions
Message
De
13/12/2018 10:21:49
 
 
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:
01664463
Vues:
64
>>Hi
>>
>>Have done this before but have forgotten how ... I have an image file in a binary memo field. How can I determine the width and height of the image? It can be png, bmp, or jpg.
>>
>>TIA
>
>LOCAL loImage AS Image
>loImage = NEWOBJECT("Image")
>loImage.PictureVal = Mytable.Imagefield
>?loImage.Width
>?loImage.Height

Thanks Christian, that was it! Couldn't remember the NEWOBJECT() part :)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform