[RESOLVED] JPG Problems... Scrolling and sizing
1. I have a JPG open and i need to be able to a Vscroll and Hscroll bars to move though the picture.....
2. I have an Image Box. when I open an image that is bigger than the box it expands it past the the program. Is it possible to have maintain the box size and not stretch it...
Re: JPG Problems... Scrolling and sizing
1. Do a search for it, it has been covered already. Code is available.
2. Set the Strech property of the ImageBox to True.
Re: JPG Problems... Scrolling and sizing
i don't want to do a stretch on it... is there another way?
Re: JPG Problems... Scrolling and sizing
Did you try it? It will downsize the image to the size of the ImageBox, so it fits in the imagebox.
Re: JPG Problems... Scrolling and sizing
The pictureBox works better
Re: JPG Problems... Scrolling and sizing
Quote:
2. I have an Image Box. when I open an image that is bigger than the box it expands it past the the program. Is it possible to have maintain the box size and not stretch it...
But you said you used ImageBox...
Re: JPG Problems... Scrolling and sizing
i canged it it to a picturebox
Re: JPG Problems... Scrolling and sizing
now i'm trying to get the scrollbars to work
Re: JPG Problems... Scrolling and sizing