PDA

Click to See Complete Forum and Search --> : How can I flip pics using Image object?


Kain_Emanon
Feb 6th, 2000, 10:13 PM
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.

I have the same topic in the general section,
thank you,

------------------
Baszom a szád szélét, Sanyikám!

Fox
Feb 7th, 2000, 11:09 AM
One way will be to draw the picture out the box (e.g. using StretchBlt). I don't know if that works with the image -property, could be you have to try autoredraw...

With StretchBlt you can also flip the picture.


Fox

------------------
fox_mccloud@gmx.net
...
Every program can be reduced to one instruction which doesn't work.

Fox
Feb 7th, 2000, 11:10 AM
And please don't post the same msg in more than one board :mad:

Kain_Emanon
Feb 7th, 2000, 03:01 PM
Thank you for your help, and sorry I posted the message more than once. :o

Kain.

------------------
Baszom a szád szélét, Sanyikám!

Fox
Feb 7th, 2000, 06:25 PM
No problem ;)

MKUSA
Jul 28th, 2000, 05:52 AM
The easiest way to flip a pic using Image object is by using a hidden picture box and using the function PaintPicture with that.