CSharp Image Processing Notes
Revision as of 22:58, 28 May 2015 by PeterHarding (talk | contribs)
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
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; }