StyleSet.GetFontHeight(StyleSetResourceId) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定字体的行距 (即,文本行的高度) 为世界单位。 行距是上升 + 下降量 + 一些建议额外部分。 升高是基线上方的字符高度,而下降是基线下的字符的高度。 额外的降低了下降。
public:
double GetFontHeight(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ fontId);
public double GetFontHeight (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId fontId);
member this.GetFontHeight : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId -> double
Public Function GetFontHeight (fontId As StyleSetResourceId) As Double
参数
- fontId
- StyleSetResourceId
字体的 id。
返回
可用于对连续文本行进行间距调整的字体高度。