Embedded (Image) get width and height

Hello all,

I am adding a embedded (image) to my layout, but before that i have to scale my image if the image size is greater than size defined but when I tries to use getHeight () it returns zero as result.

Any help would be great.

Cheers!!!

Thanks,
Kislay

See
this thread
. getHeight() returns the height that you have assigned the embedded, which is null (undefined) by default.