Difference between revisions of "CSharp Image Processing Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
(Created page with " * http://csharphelper.com/blog/2012/04/convert-a-rectangle-into-a-rectanglef-and-vice-versa-in-c/ Category:CSharp Category:Image Processing")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
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/
* 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
* [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==
Set PictureBox 's SizeMode Properties to "Zoom"
<pre>
// 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;
}
</pre>


[[Category:CSharp]]
[[Category:CSharp]]
[[Category:Image Processing]]
[[Category:Image Processing]]

Latest revision as of 21:59, 28 May 2015