You're welcome. I do the same sometimes for similar stuff. If you add an object programmatically, the object's visible property will remain .F., so it won't clutter your screen.
>I did this way :
>I load the picture I want to test in a image object setting its stretch property to 0 (clip)
>then I read its width and height.
>The Loadpicture method does not support PNG files.
>Thanks for your help :)
>
>>Check Message ID:
1444161>>
>>>Hi all,
>>>I need to know the size of the diplayed image if I set the stretch property to Isometric.
>>>Any Ideas ?
>>>
>>>I should also set the font size of a label to fit this image. Which is the way to follow ?
>>>
>>>thanks **2
>>>
>>>Alessio