Click here to Skip to main content
12,251,027 members (35,912 online)
Rate this:
 
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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 14 Oct 2012
Copyright © CodeProject, 1999-2016
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