winforms - Chemical symbol support on a textbox -
i developing application needs kind of subscript , superscript support display text refers chemical formula, if in textbox (winforms) , want example show water formula, appear h20 rather h(subscript 2)o (sorry coudn't find how here). how done? thanks.
run windows charmap.exe applet. tick advanced view checkbox , in search box type "two". should see "subscript two" glyph, unicode codepoint '\u2082'. click select , copy. switch code or properties window , type "h" + ctrl+v + "o" "h₂o".
Comments
Post a Comment