减少字符串的字体大小 [英] Decrease the Font size of a string
本文介绍了减少字符串的字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个字符串,如
sageInterconnect.Text = string.Format("SageBus INTERCONNECT RIBBON ({0}X)",
panel.Items.Where(x => x is BackPlanes).Count()).ToString();
我想以编程方式减少字符串的字体大小,我该怎么办?
I want to decrease the Font size of the string programatically,how can i do it?
推荐答案
Visio Automation不是我的意思尝试过,事实证明调整字体并不像听起来那么容易。
我已经跟踪了这篇关于这个主题的文章 - 似乎涵盖了所有要点......
http://www.visguy.com/2007/08/21/text-resizing- with-shapesheet-formula / [ ^ ]
Visio Automation is not something I've tried and it turns out that adjusting the font isn't as easy as it sounds.
I've tracked down this article on the subject though - seems to cover all of the main points ...
http://www.visguy.com/2007/08/21/text-resizing-with-shapesheet-formulas/[^]
这篇关于减少字符串的字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文