Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

how can i get exact image from listview and assign to picturebox?

$
0
0

Dear Friends

Actually taking  all the images into ListView and then

ListView1.LargeImageList.ImageSize =

New System.Drawing.Size(100, 100)

Then

PictureBox1.Image = ListView1.LargeImageList.Images(selection.ImageKey)

My PictureBox sizemode is stretch Image.

After getting to Picturebox, it is more stretched. How to get exact correct image, what is stored in Database file.

Is there any other method..? List the images and take it to picture box.

Thanks


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>