> I am trying to make an image thumbnail viewer, and am sort of stuck on how to
> create something that will view a bunch of scaled down images. If anyone has a
> sample bit of code, or a similar project example (or class) that does
> something like this, it would be most appreciated. Anything would really be
> helpful.
I am not entirely sure which part you are stuck on, so forgive me if my
suggestions are too basic.
First let me suggest using a canvas to view the pictures in. There are
other controls and choices, but this one is in most cases the best choice.
If your question is how to scale the pictures, take a look at the
DrawPicture method of the graphics class. It has optional parameters that
allow you to scale the image.
To view many of these on the same canvas you will need to figure out how you
want to place them and change the x and y coordinates that you pass to
DrawPicture.
I hope that helps,
Cortis
--
cortis at realsoftware dot com
Engineering Team Member @ REAL Software
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|