Images in Listview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I would like to use a listview to show the tumbnails of images, the problem is the the images are shown too small, Is there any way to change the image size

If it is not possible, is there another control suitable to do this?

Thanks
 
With the ListView and ImageList controls, set the following properties:
'Set the size of the image list to 64,64 (or whatever other size you
want)
MyImageList.ImageSize = New Drawing.Size(64, 64)
'Set the View property of the listview to use Large Icons
MyListView.View = LargeIcon
'Link the imagelist to the listview
MyListView.LargeImageList = MyImageList

The displayed size of the images is dependant upon the size defined in the
ImageList.

Jody

luis said:
Hi!

I would like to use a listview to show the tumbnails of images, the
problem is the the images are shown too small, Is there any way to change
the image size?
 
How do you store your links Herfried? Knowledge base?


problem is the the images are shown too small, Is there any way to change
the image size?
 
Hi

Thanks for both anwers, now i can see the images well, but now i have another problem, I need this for a pocket pc software, and i have the problem that the listview left a lot of space between the elements, so I only can show 2 items per row.
There is any way to specify this margin??? , or another way to fix the proble

Thanks for all
 
Back
Top