Results 1 to 2 of 2

Thread: [2.0] How can I convert System.Drawing.Font to System.Web.UI.WebControls.FontInfo?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Question [2.0] How can I convert System.Drawing.Font to System.Web.UI.WebControls.FontInfo?

    Hello!

    can I convert System.Drawing.Font to System.Web.UI.WebControls.FontInfo?

    thanks!

    Dekel C.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] How can I convert System.Drawing.Font to System.Web.UI.WebControls.FontInfo?

    No you can't. In fact, you can't create a FontInfo object at all because it's only constructor is internal to the System.Web.dll assembly. Unless there's some method out there that I'm unaware of that returns a new FontInfo object you're out of luck.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width