CSharp Image Processing Notes
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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; }