Click here to Skip to main content
14,448,071 members
Rate this:
Please Sign up or sign in to vote.
See more:
Actually I want to browse a image and set it in the PictureBox. But, problem is when I browse high-definition image it's not showing full-image in the PictureBox. So, please help me how can I show full-image in a PictureBox as any size of the image ?
Posted
Comments
Sergey Alexandrovich Kryukov 25-Jan-12 13:33pm
   
Why? Well, can you make a (short!) code sample to show the problem? Please use "Improve question" above.
Wait a minute, is there PictireBox in ASP.NET?
--SA
BillWoodruff 25-Jan-12 19:12pm
   
Assuming there is a PictureBox in ASP.NET, as SAK just commented on, then you either zoom down or up the size of the source picture to fit in the PictureBox, or you re-size the PictureBox based on some code that determines the actual source picture size: if that's known in advance by you, you could define those size parameters in your code. I submit this as a comment, since I do not work with ASP.NET.

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




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