Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
hi all
i displayed images from folder in listview in winform using this code
    DirectoryInfo dir = new DirectoryInfo(@"D:\image");
            foreach (FileInfo file in dir.GetFiles())
            {
                this.imageList1.Images.Add(Image.FromFile(file.FullName));
            }
            for (int j = 0; j < this.imageList1.Images.Count; j++)
            {
                ListViewItem item = new ListViewItem();
                item.ImageIndex = j;
                this.listView1.Items.Add(item);
 
            }
and i want to display the name of image with image and enable user to make zoom for image but i do not know how to display name and make zoom
please help
thank u
Posted 13-Oct-12 6:16am
Comments
Volynsky Alex at 14-Oct-12 11:08am
   
I hope this will help you:
http://www.codeproject.com/Articles/10096/PictureBox-with-zooming-and-scrolling
http://www.codeproject.com/Articles/15373/A-scrollable-zoomable-and-scalable-picture-box
http://www.codeproject.com/Articles/12331/ImageBox-Control-with-Zoom-Pan-Capability
http://www.codeproject.com/Articles/10738/Zoomer-Capture-Zoom-Add-Filter-Choose-Format-Save
http://stackoverflow.com/questions/333589/image-resizing-in-net-with-antialiasing

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

ImageListView is a .NET 2.0 control for displaying a list of image files:
ImageListView[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 George Jonsson 359
1 Sergey Alexandrovich Kryukov 355
2 CPallini 335
3 BillWoodruff 324
4 OriginalGriff 237
0 OriginalGriff 5,050
1 CPallini 4,225
2 Sergey Alexandrovich Kryukov 3,639
3 George Jonsson 2,911
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 14 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100