Difference between revisions of "CSharp Image Processing Notes"
Jump to navigation
Jump to search
PeterHarding (talk | contribs) |
PeterHarding (talk | contribs) |
||
Line 13: | Line 13: | ||
* http://blogs.msdn.com/b/calvin_hsia/archive/2008/08/21/8885657.aspx | * http://blogs.msdn.com/b/calvin_hsia/archive/2008/08/21/8885657.aspx | ||
* [http://www.dotnetcurry.com/showarticle.aspx?ID=196 Emulate Image Zooming in a PictureBox Control at Runtime] | * [http://www.dotnetcurry.com/showarticle.aspx?ID=196 Emulate Image Zooming in a PictureBox Control at Runtime] | ||
* https://www.daniweb.com/software-development/csharp/threads/420386/how-to-zoom-an-image-in-picturebox | |||
==Code== | ==Code== |
Latest revision as of 22:59, 28 May 2015
Also see - C-Sharp Image Processing | C-Sharp - Working with Images
- http://csharphelper.com/blog/2012/04/convert-a-rectangle-into-a-rectanglef-and-vice-versa-in-c/
- http://csharphelper.com/blog/2012/04/convert-a-rectangle-into-a-rectanglef-and-vice-versa-in-c/
Zooming Images
- http://stackoverflow.com/questions/18270144/c-simple-and-functional-way-to-zoom-picturebox-images-with-scroll-bars
- http://www.codeproject.com/Articles/21097/PictureBox-Zoom
- http://stackoverflow.com/questions/10915958/how-to-zoom-inout-an-image-in-c-sharp
- http://www.codeproject.com/Articles/26532/A-Zoomable-and-Scrollable-PictureBox
- http://blogs.msdn.com/b/calvin_hsia/archive/2008/08/21/8885657.aspx
- Emulate Image Zooming in a PictureBox Control at Runtime
- https://www.daniweb.com/software-development/csharp/threads/420386/how-to-zoom-an-image-in-picturebox
Code
Set PictureBox 's SizeMode Properties to "Zoom"
// For Zoom +10 private void btnZoomPlus10_Click(object sender, EventArgs e) { pictureBox1.Height += 10; pictureBox1.Width += 10; } // For Zoom -10 private void btnZoomMinus10_Click(object sender, EventArgs e) { pictureBox1.Height -= 10; pictureBox1.Width -= 10; }