<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Screen Capture Class For C#</title>
	<atom:link href="http://www.farooqazam.net/screen-capture-class-for-c-sharp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/</link>
	<description>Unity 3D, Game Development and C# Programming.</description>
	<lastBuildDate>Tue, 06 Dec 2011 13:14:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19379</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 11 Jun 2011 23:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19379</guid>
		<description>Wow, works like a charm.  Thanks for all your help :)</description>
		<content:encoded><![CDATA[<p>Wow, works like a charm.  Thanks for all your help <img src='http://www.farooqazam.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farooq Azam</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19377</link>
		<dc:creator>Farooq Azam</dc:creator>
		<pubDate>Sat, 11 Jun 2011 22:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19377</guid>
		<description>Sorry, I forgot that.

Declare a Rectangle class instance and use it as an argument:

&lt;code&gt;public void button2_Click(object sender, EventArgs e)
{
Rectangle rect = new Rectangle(100,100,20,20);
Bitmap screenshot;
screenshot = Capture.CaptureRectangle(rect);
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, I forgot that.</p>
<p>Declare a Rectangle class instance and use it as an argument:</p>
<p><code>public void button2_Click(object sender, EventArgs e)<br />
{<br />
Rectangle rect = new Rectangle(100,100,20,20);<br />
Bitmap screenshot;<br />
screenshot = Capture.CaptureRectangle(rect);<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19376</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 11 Jun 2011 22:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19376</guid>
		<description>Thanks for the quick response, but it still returns errors about its arguments.  Looking at the actually CaptureRectangle statement it wants Rectangle rect, string fileName.  Maybe i have to declare what the rectangle is elsewhere, i&#039;ll putz around with it some more, thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick response, but it still returns errors about its arguments.  Looking at the actually CaptureRectangle statement it wants Rectangle rect, string fileName.  Maybe i have to declare what the rectangle is elsewhere, i&#8217;ll putz around with it some more, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farooq Azam</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19372</link>
		<dc:creator>Farooq Azam</dc:creator>
		<pubDate>Sat, 11 Jun 2011 22:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19372</guid>
		<description>Include the ScreenCapture.cs file into your project.

Declare this class-level variable:

SC.ScreenCapture Capture = new SC.ScreenCapture();

To capture an image of predefined coordinates and save it in a Bitmap use this code for your button:

&lt;code&gt;public void button2_Click(object sender, EventArgs e)
{
     Bitmap screenshot;
     screenshot = Capture.CaptureRectangle(100,100,20,20);
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Include the ScreenCapture.cs file into your project.</p>
<p>Declare this class-level variable:</p>
<p>SC.ScreenCapture Capture = new SC.ScreenCapture();</p>
<p>To capture an image of predefined coordinates and save it in a Bitmap use this code for your button:</p>
<p><code>public void button2_Click(object sender, EventArgs e)<br />
{<br />
     Bitmap screenshot;<br />
     screenshot = Capture.CaptureRectangle(100,100,20,20);<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19366</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 11 Jun 2011 21:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19366</guid>
		<description>I&#039;d like to use this program to capture a rectangle.  How would I go about getting the button to capture predefined coordinates of the screen??

IE:
public void button2_Click(object sender, EventArgs e)
        {
            CaptureRectangle(100,100,20,20);   
        }</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to use this program to capture a rectangle.  How would I go about getting the button to capture predefined coordinates of the screen??</p>
<p>IE:<br />
public void button2_Click(object sender, EventArgs e)<br />
        {<br />
            CaptureRectangle(100,100,20,20);<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farooq Azam</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19327</link>
		<dc:creator>Farooq Azam</dc:creator>
		<pubDate>Sat, 11 Jun 2011 12:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19327</guid>
		<description>Make sure the namespace for the ScreenCapture class and the form you are using it on is the same.</description>
		<content:encoded><![CDATA[<p>Make sure the namespace for the ScreenCapture class and the form you are using it on is the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hmmm</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-19297</link>
		<dc:creator>Hmmm</dc:creator>
		<pubDate>Sat, 11 Jun 2011 04:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-19297</guid>
		<description>It makes sense on paper, but does not import properly into C#.  Getting CaptureRectangle type doesn&#039;t exist within the context.

Included ScreenCapture.cs and even tried using CS; in the includes section... Any Ideas?</description>
		<content:encoded><![CDATA[<p>It makes sense on paper, but does not import properly into C#.  Getting CaptureRectangle type doesn&#8217;t exist within the context.</p>
<p>Included ScreenCapture.cs and even tried using CS; in the includes section&#8230; Any Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farooq Azam</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-16099</link>
		<dc:creator>Farooq Azam</dc:creator>
		<pubDate>Wed, 04 May 2011 19:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-16099</guid>
		<description>Yes, email me at:

farooqaaa [at] gmail.com

Thanks.</description>
		<content:encoded><![CDATA[<p>Yes, email me at:</p>
<p>farooqaaa [at] gmail.com</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andromoda</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-16098</link>
		<dc:creator>andromoda</dc:creator>
		<pubDate>Wed, 04 May 2011 19:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-16098</guid>
		<description>Nice article, are you seling links from your website? I&#039;m interested...</description>
		<content:encoded><![CDATA[<p>Nice article, are you seling links from your website? I&#8217;m interested&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fine Food</title>
		<link>http://www.farooqazam.net/screen-capture-class-for-c-sharp/#comment-886</link>
		<dc:creator>Fine Food</dc:creator>
		<pubDate>Fri, 12 Mar 2010 16:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.farooqazam.net/?p=106#comment-886</guid>
		<description>thanks for that</description>
		<content:encoded><![CDATA[<p>thanks for that</p>
]]></content:encoded>
	</item>
</channel>
</rss>

