Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zoon In/Out with Picturebox and Thumbnail control

104| Fri, 30 Nov 2007 20:56:00 GMT| sam1973| Comments (2)
Hello everyone,

QUESTION 1:
In my form I have a picture box control and it is loaded with picture when the form loads. I also have two buttons; one for zoom in 100 percent and another one is zoom out 50 percent. I can't find a method to do that. Can help suggest anyone suggest?

QUESTION 2:

Say I have one directory containing various types of graphics files (jpg,bmp,gif...) when user click on a that directory I want the Thumbnail control to display thumbnials of those files. suppose I already have a drive list control, directory list control and file list control working.

I would highly appreciate it for your suggestion.

Thank you.

--Sam.

Keywords & Tags: zoon, out, picturebox, thumbnail, control, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560816/
 
«« Prev - Next »» 2 helpful answers below.
1: I just wrote a similiar example some weeks ago. You can download it from:

http://www.vbforums.com/attachment.php?s=&postid=458734

It uses an image box instead of a picture box to zoom the image out and in. So, it does not use any API call like BitBlt to do that because image box already has the stretch property

abdul | Tue, 04 Dec 2007 00:06:00 GMT |

2) If your talking about the Kodak Thumbnail Control it only uses .tiff files!
So if you have a multipage tiff file you can use it to look at all the pages at once!

Doesnt work for jpegs gifs etc.
:(

beacon | Tue, 04 Dec 2007 00:07:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories