我怎样才能显示.NET GUI标签上标字符? [英] How can I show a superscript character in .NET GUI labels?

查看:98
本文介绍了我怎样才能显示.NET GUI标签上标字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能建立一个字符串或固定在GUI中的标签,这样我得到平米信息给用户。这样输出会看起来像21平方米但2升起。

Is it possible to Build a string or fix the label in the GUI so that I get square meter information to the user. So that the output will look like 21 m2 but the 2 is raised.

问候

推荐答案

使用了²卡拉科特:
21平方米

Use the "²" caracter : 21 m²

Unicode代码点为U + 00B2和UTF-8十六进制为C2 B2

The unicode code point is U+00B2 and the UTF-8 hexadecimal is c2 b2

这篇关于我怎样才能显示.NET GUI标签上标字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆