本文介绍了WPF类比'em'单位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是WPF的CSS类比单位?
What is the WPF analogy for the CSS em unit?
推荐答案
AFAIK,目前没有一个。但你可以让你渴望这个已知。
AFAIK, there isn't one right now. But you can make your desire for this known here.
一个替代方法(我不知道这是否可能)将测量所需字体的大小,然后采取作为您的ems单位,然后使用这些单位缩放。
One alternative (and I don't know if this is possible either) would be to measure how big the desired font is, then take that as your "ems" unit, then scale using those "units" instead.
这篇关于WPF类比'em'单位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!