none
Text With Subscripts, Superscripts. Mathematical Symbols

    Question

  • Hello:

    I am thinking about writing an app for electrical engineering calculations using VB2013. I need to display text with superscripts and/or subscripts. Also, mathematical symbols would be required (square root etc). I have researched and I have looked at the Character Map but am confused.

    Can anyone give me some help.

    Thanks,

    John

    Tuesday, February 2, 2016 12:48 PM

Answers

  • Hello:

    I am thinking about writing an app for electrical engineering calculations using VB2013. I need to display text with superscripts and/or subscripts. Also, mathematical symbols would be required (square root etc). I have researched and I have looked at the Character Map but am confused.

    Can anyone give me some help.

    Thanks,

    John

    John,

    About the only thing that comes to mind for subscripts/superscripts is using Rich Text in a RichTextBox. You can set the subscript/superscript using the SelectionCharOffset.

    As for the mathematical symbols, I'm not sure but I suspect that the RTB can support it.


    Knowledge rests not upon truth alone, but upon error also. Carl Jung

    Tuesday, February 2, 2016 3:15 PM

All replies