Can anybody give me a code what gives me the size of a picture inside a Image(box). I wan't the real size becouse the picture is stretched.
Printable View
Can anybody give me a code what gives me the size of a picture inside a Image(box). I wan't the real size becouse the picture is stretched.
[Highlight=VB]W = Image1.Width
H = Image1.Height[Highlight=VB]I think this would give the correct size (in pixels) but I'm not exactly sure if it will make the conversion. If it's in TWIPS, you can convert it by dividing by Screen.TwipsPerPixelX and Y respectively.