更改字体属性以改变字符串中字符之间的间距?

发布于 2024-08-19 02:11:33 字数 95 浏览 3 评论 0原文

有谁知道我如何(如果可能)更改字符串或文本框输出的字符间距?一种可能性是创建自定义字体,但我不确定其中一个重载中是否有属性允许我更改字符间距?!任何回复都会很好,提前感谢大家!

Does anyone know how i am able (if possible) to change the character spacing of a string or textbox output? One possibility is by creating a custom font, but i am unsure if there is a property in one of the overloads that will allow me to change character spacing?! Any response would be great, thanks in advance guys!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

与酒说心事 2024-08-26 02:11:33

好吧,我打算将您发送到 的路径CHARFORMAT2 您可以在其中设置 sSpacing 值,但根据该页面:

该值对 Rich Edit 控件显示的文本没有影响;

所以基本上,我认为你不能,抱歉。

Well, I was going to send you down the path of CHARFORMAT2 where you can set the sSpacing value but according to that page:

This value has no effect on the text displayed by a rich edit control;

So basically, I don't think you can, sorry.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文