|
-
Feb 6th, 2000, 11:09 PM
#1
Thread Starter
Junior Member
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!
-
Feb 6th, 2000, 11:21 PM
#2
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
-
Feb 7th, 2000, 04:15 PM
#3
Thread Starter
Junior Member
Thank you very much, .
Kain
-
Feb 7th, 2000, 04:21 PM
#4
Thread Starter
Junior Member
I will use the StretchBlt% API function, the PaintPicture method is a bit dodgy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|