几何尺寸与公差论坛

 找回密码
 注册
查看: 220|回复: 0

用visionpro绘制文本?

[复制链接]
发表于 2023-2-19 21:47:09 | 显示全部楼层 |阅读模式
CogGraphicLabel label = new CogGraphicLabel();
            label.Color = CogColorConstants.None;
            System.Drawing.Font newFont = new System.Drawing.Font(label.Font.FontFamily, 20);
            label.Font = newFont;
            string text = "▉";
            label.SetXYText(5000, 5000, text);
            cogRecoDisplay.StaticGraphics.Add(label, "label");
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-5-5 05:34 , Processed in 0.035953 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表