Link to home
Start Free TrialLog in
Avatar of sigmatec_pk
sigmatec_pkFlag for Pakistan

asked on

how to customize image size of ImageList

how to customize image size of each image in  ImageList. By doing it in loop for each image the imageList become reset and the images get vanished. Any idea how to manage it. Without costomizing the images are distorted in the listview. I want Windows like thumbnails of images.
Avatar of John Claes
John Claes
Flag of Belgium image

You can use the property upon your ImageList . ImageSize
This must be a Size Object and must be set before adding the Images.

Source + Info
http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist.imagesize.aspx


Regards
Poor beggar
Avatar of sigmatec_pk

ASKER

thanks for reply.

Infact i want my images of diffenent sizes dont strech. I want Windows explorer -like thumbnail view. Any help??

I tried this
http://www.pcreview.co.uk/forums/windows-like-thumbnails-listview-t1935383.html

but didnt get it properly.
ASKER CERTIFIED SOLUTION
Avatar of John Claes
John Claes
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks