Set superscript and subscript in formatted text in wpf

后端 未结 8 731
时光说笑
时光说笑 2020-11-27 06:37

How can I set some text as subscript/superscript in FormattedText in WPF?

8条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 07:16

    It's interesting to note that for some characters (m2, m3, etc) a superscript is not needed, but the unicode character can be used. For example:

    
    

    This would show m3.

提交回复
热议问题