Move Image within PicBox
-
Hello, Well, I have a PictureBox and this control contained an image. For example the PictureBox has 200 x 300. Well the image size is 800 x 600. Is possible that move the image in the picturebox, for example the coord(0,0) of the picture box show the coord(100,100) of the image. I want to drag and drop and move the image on the picturebox, so the picturebox is like a window only I can see an area 200 x 300 of the image. Thank you, sorry meaby a I can't explained for my bad english. See you gangeles
-
Hello, Well, I have a PictureBox and this control contained an image. For example the PictureBox has 200 x 300. Well the image size is 800 x 600. Is possible that move the image in the picturebox, for example the coord(0,0) of the picture box show the coord(100,100) of the image. I want to drag and drop and move the image on the picturebox, so the picturebox is like a window only I can see an area 200 x 300 of the image. Thank you, sorry meaby a I can't explained for my bad english. See you gangeles
If I understand.. Try to save a new image file from the first picture 800x600, with size 200x300 with the field of first picture that you want. It's very easy with bitmap..select all..move..remake picture size..and save it! Now try again to import the new image in PictureBox 200x300!:-D -- modified at 19:01 Wednesday 8th February, 2006
-
Hello, Well, I have a PictureBox and this control contained an image. For example the PictureBox has 200 x 300. Well the image size is 800 x 600. Is possible that move the image in the picturebox, for example the coord(0,0) of the picture box show the coord(100,100) of the image. I want to drag and drop and move the image on the picturebox, so the picturebox is like a window only I can see an area 200 x 300 of the image. Thank you, sorry meaby a I can't explained for my bad english. See you gangeles
This is actually pretty easy. Load the image into the PictueBox at full size (800x600), then put the PictureBox in a Panel control. Make sure the Panels AutoScroll property is set to true. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
This is actually pretty easy. Load the image into the PictueBox at full size (800x600), then put the PictureBox in a Panel control. Make sure the Panels AutoScroll property is set to true. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hello, Well, I have a PictureBox and this control contained an image. For example the PictureBox has 200 x 300. Well the image size is 800 x 600. Is possible that move the image in the picturebox, for example the coord(0,0) of the picture box show the coord(100,100) of the image. I want to drag and drop and move the image on the picturebox, so the picturebox is like a window only I can see an area 200 x 300 of the image. Thank you, sorry meaby a I can't explained for my bad english. See you gangeles
Well Folks, Finally I founded that I need. The ImagXpress Pegasus control 7.0 have all the things I need. http://pegasusimaging.com/imagxpress.htm This demo have an example: C:\Program Files\Pegasus Imaging\ImagXpress\V7.0\Samples\ActiveX-COM\VB6\ViewingTools CU and Thanx gangeles