明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3504|回复: 2

用Mtext怎样设置字体类型(宋体,幼圆等)呀?

[复制链接]
发表于 2006-1-19 13:52 | 显示全部楼层 |阅读模式

            Dim MText As MText = New MText

            MText.Contents = " 文本"     '设置所显示的文本

            MText.TextHeight = 12    '设置字高

            MText.Location = New Point3d(12, 22, 33)   '设置字插入的位置

            MText.Color = Autodesk.AutoCAD.Colors.Color.FromRgb(210,255, 230)  '设置字体颜色

           用Mtext怎样设置字体类型(宋体,幼圆等)呀?

 楼主| 发表于 2006-1-22 20:29 | 显示全部楼层

怎么没人呀?

顶一下

 

发表于 2006-4-23 22:07 | 显示全部楼层
自定义textstyle,然后指定给mtext即可
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-17 19:57 , Processed in 0.162440 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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