-
Szia,
My problem is this: I want to flip pictures using the Image object. I know you can do it with PaintPicture with the pictureboxes, but pictureboxes don't have a Stretch option. The Stretch thing is very important to me, because I want to show whole pictures that are bigger than the screen resolution. Now I want to add some option to flip the image/picture, whatever. So does anyone know how I either make a picturebox to stretch the picture (is it possible??) or either make a picture flip (horz. and/or vert.) using an image object.
Thank you,
------------------
Baszom a szád szélét, Sanyikám!
-
You can stretch the picture in a picturebox using the PaintPicture method (or the StrechBlt API function).
You can use code simular to this:
With Picture1
.PaintPicture .Picture, 0, 0, .ScaleWidth, .ScaleHeight
End With
Just remember to set the AutoRedraw property to True.
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
-
Thank you very much, :D .
Kain
-
I will use the StretchBlt% API function, the PaintPicture method is a bit dodgy.