Make sure you're using the same scaling mode. Most APIs work with
pixels, while VB normally uses Twips. Bitmap APIs generally use HiMetric.
Check out the ScaleX and ScaleY methods.
--
Paul Parkhurst
Software Engineer
Quote:
>I can't get it right to resize a image to the size of the image or picture
>box in vb5, with the same height width comparsion.
>It should be very easy, so i must be stupid but i can't get it right..
>(beginner)
>Can anybody send me a example?
>Thanx a lot
>Koen M.