<?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: Change Font Size</title>
	<atom:link href="http://www.csharp411.com/change-font-size/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/change-font-size/</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Sat, 24 Jul 2010 01:26:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: krish</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-5440</link>
		<dc:creator>krish</dc:creator>
		<pubDate>Sat, 24 Apr 2010 01:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-5440</guid>
		<description>thanku
 it is soo helpful for my project</description>
		<content:encoded><![CDATA[<p>thanku<br />
 it is soo helpful for my project</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monkeyface</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-5407</link>
		<dc:creator>monkeyface</dc:creator>
		<pubDate>Fri, 19 Mar 2010 09:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-5407</guid>
		<description>thanks alot this help me alot thank you very very very much!!!</description>
		<content:encoded><![CDATA[<p>thanks alot this help me alot thank you very very very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pranav</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-5329</link>
		<dc:creator>Pranav</dc:creator>
		<pubDate>Fri, 20 Nov 2009 04:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-5329</guid>
		<description>How to convert System.Media.Font(WPF) to System.Drawing.Font(C#.Net), including font size ?</description>
		<content:encoded><![CDATA[<p>How to convert System.Media.Font(WPF) to System.Drawing.Font(C#.Net), including font size ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zak</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-5301</link>
		<dc:creator>Zak</dc:creator>
		<pubDate>Sun, 11 Oct 2009 15:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-5301</guid>
		<description>textBox.Font = new Font( textBox.Font, FontStyle.Bold );</description>
		<content:encoded><![CDATA[<p>textBox.Font = new Font( textBox.Font, FontStyle.Bold );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohana</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-5300</link>
		<dc:creator>mohana</dc:creator>
		<pubDate>Sun, 11 Oct 2009 10:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-5300</guid>
		<description>In my project when i radio button named bold is clicked the word we typed in the text box should change bold..Please tell me the coding..I tried many times but i dint get correct coding... how to change the font style of a word in a text box?</description>
		<content:encoded><![CDATA[<p>In my project when i radio button named bold is clicked the word we typed in the text box should change bold..Please tell me the coding..I tried many times but i dint get correct coding&#8230; how to change the font style of a word in a text box?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharmi</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-4242</link>
		<dc:creator>sharmi</dc:creator>
		<pubDate>Mon, 09 Mar 2009 05:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-4242</guid>
		<description>Hey i tried this.....its really work great........
actually i saw many sites...they didnt give any clear solution...thanks a lot...now im very happy :)</description>
		<content:encoded><![CDATA[<p>Hey i tried this&#8230;..its really work great&#8230;&#8230;..<br />
actually i saw many sites&#8230;they didnt give any clear solution&#8230;thanks a lot&#8230;now im very happy <img src='http://www.csharp411.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timm</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-4087</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Fri, 26 Dec 2008 18:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-4087</guid>
		<description>What is lbObjective?  From the info you provided, it appears that lbObjective.Font is a FontInfo and not a Font.</description>
		<content:encoded><![CDATA[<p>What is lbObjective?  From the info you provided, it appears that lbObjective.Font is a FontInfo and not a Font.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raja</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-4086</link>
		<dc:creator>raja</dc:creator>
		<pubDate>Fri, 26 Dec 2008 16:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-4086</guid>
		<description>gets this below error in line (lbobjective.font parameter)

lbObjective.Font = ChangeFontSize(lbObjective.Font , fontSizeta2);


Error cannot convert from &#039;System.Web.UI.WebControls.FontInfo&#039; to &#039;System.Drawing.Font&#039;	

Fonts = ((DropDownList)Master.FindControl(&quot;ddlLanguage&quot;)).SelectedValue;

if (Fonts == &quot;ta-IN&quot;)
{
Double fontSizeta = Convert.ToDouble(lbObjective.Font.Size);
fontSizeta = fontSizeta * 0.8;
float fontSizeta2 = (float)fontSizeta;
lbObjective.Font = ChangeFontSize(lbObjective.Font , fontSizeta2);
 }


static public Font ChangeFontSize(Font font, float fontSize)
    {
        if (font != null)
        {
            float currentSize = font.Size;
            if (currentSize != fontSize)
            {
                font = new Font(font.Name, fontSize,
                    font.Style, font.Unit,
                    font.GdiCharSet, font.GdiVerticalFont);
            }
        }
        return font;
    }


help me in solving this ir would be grateful 
Thanks in advance</description>
		<content:encoded><![CDATA[<p>gets this below error in line (lbobjective.font parameter)</p>
<p>lbObjective.Font = ChangeFontSize(lbObjective.Font , fontSizeta2);</p>
<p>Error cannot convert from 'System.Web.UI.WebControls.FontInfo' to 'System.Drawing.Font'	</p>
<p>Fonts = ((DropDownList)Master.FindControl("ddlLanguage")).SelectedValue;</p>
<p>if (Fonts == "ta-IN")<br />
{<br />
Double fontSizeta = Convert.ToDouble(lbObjective.Font.Size);<br />
fontSizeta = fontSizeta * 0.8;<br />
float fontSizeta2 = (float)fontSizeta;<br />
lbObjective.Font = ChangeFontSize(lbObjective.Font , fontSizeta2);<br />
 }</p>
<p>static public Font ChangeFontSize(Font font, float fontSize)<br />
    {<br />
        if (font != null)<br />
        {<br />
            float currentSize = font.Size;<br />
            if (currentSize != fontSize)<br />
            {<br />
                font = new Font(font.Name, fontSize,<br />
                    font.Style, font.Unit,<br />
                    font.GdiCharSet, font.GdiVerticalFont);<br />
            }<br />
        }<br />
        return font;<br />
    }</p>
<p>help me in solving this ir would be grateful<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hsglobal</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-2719</link>
		<dc:creator>hsglobal</dc:creator>
		<pubDate>Sun, 17 Aug 2008 05:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-2719</guid>
		<description>It&#039;s a nice trick! Thanks.</description>
		<content:encoded><![CDATA[<p>It's a nice trick! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MysteryKe</title>
		<link>http://www.csharp411.com/change-font-size/comment-page-1/#comment-31</link>
		<dc:creator>MysteryKe</dc:creator>
		<pubDate>Tue, 18 Mar 2008 12:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/#comment-31</guid>
		<description>Ok, already it works.</description>
		<content:encoded><![CDATA[<p>Ok, already it works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
