Author: NUStudent | Posted on: 6/23/2010 1:57:50 PM | Views : 283

I have a label that I am adding dynamically and I would like it to be a custom Font (I know this font works in many browswers because its the default to our companies website).  I want to change the font to "Palatino Linotype" but am unsure as to how this is possible.  I thought it would be as simple as: Label1.Font = "Palatino Linotype"; however, this is not the case.  I have trie:
Font Palatino_Linotype = new Font("Palatino Linotype", 12);
Label24.Font = Palatino_Linotype;
I get the error before compile:  Cannont implicitly convert type 'System.Drawing.Font' to 'System.Web.UI.WebControls.FontInfo'.


Any suggestions / previous Post links / anything?
- NUStudent

...

Go to the complete details ...