none
insert a character superscript or subscripte in a label RRS feed

  • Question

  • Hi 
    is it possible to insert a character superscript or subscripte in a label with vb.net and compact framework ? 
    thanks
    Sunday, July 19, 2009 4:32 PM

Answers

  • You can input the Unicode of the superscript/subscript. For example the following code fragment shows "m2" in a label:

     label1.Text = "M\u00B2";
    Please mark the post that helps you, and unmark that does not. This benefits our community members.
    • Marked as answer by anallie0 Wednesday, July 22, 2009 7:47 PM
    • Unmarked as answer by anallie0 Wednesday, July 22, 2009 7:48 PM
    • Marked as answer by anallie0 Wednesday, July 22, 2009 7:49 PM
    Wednesday, July 22, 2009 6:40 AM
    Moderator