Multiple Fonts in a single Label/TextBox Control

Is it possible to set 2 or more fonts for a single Label or TextBox control

Suppose I have a string: "Times New roman, Verdana, Lucida Handwriting" like this. This string contains different types of fonts. It is saved in database. I want to show this string in a Label control. As far as I know a label control must set a specific font. If I show this in a label control or TextBox control, it converts in a single font(which is set by me). So how can i implement this.

Please Help & Encourage Me.



Answer this question

Multiple Fonts in a single Label/TextBox Control

  • Nerbert

    I don't think this is possible unless you ownerdraw the label or create your own custom control. I could be wrong though as I'm fairly new to C#

  • Kofi J.

    Yes, I want to show some strings in different fonts.

    Thanks a lot


  • Jay Pondy

    do u know any alternative way for that
  • BunnyStrider

    You could use a RichTextBox.

    Do you want to show some strings in different fonts, or do you want to actually show the font names written in that exact font

    -- Tim
    http://geekswithblogs.net/tscott/


  • Multiple Fonts in a single Label/TextBox Control