views:

116

answers:

2

I have a WinForms .Net 2.o app with a ListView in it and i'm trying to show some thumbnails. I set the listView.View-property to View.LargeIcon, but that's not big enough. I would like to have thumbnails about 250x180. Is this possible? And if, how?

+2  A: 

Yes, edit the ImageList you use for the ListView.LargeImageList property. Set its ImageSize to 250x180.

Hans Passant
+3  A: 

You can do this with standard ListView control by setting the ImageSize of ImageList set for LargeImageList property. However, the image size is limited to 256x256. Further limitation is that all images need to have the same size.

There is 3rd party control, IntegralUI ListView, which can show any items in LargeIcon view with any custom image with different sizes. The ListView control will show images (even large ones) scalled to desired size. Check out this demo project Image Scaling.

Lokey
realy? That simple? Damn ... i feel ashamed ... i should find that out by my own ... Thanks
Marcel Benthin