0
点赞
收藏
分享

微信扫一扫

CAD计算文字外包(com接口c#语言)

小飞侠熙熙 2022-07-27 阅读 48


c#中代码实现说明:

​​MxDrawText text = ​​​​new​​​ ​​MxDrawText();​​
​​text.TextString = ​​​​"BBBBBB"​​​​;​​
​​text.Height = 200;​​
​​MxDrawPoint pt, pt2;​​
​​text.GetBoundingBox(out pt, out pt2);​​

​​MessageBox.Show((pt2.x - pt.x).ToString());​​

举报

相关推荐

0 条评论