查看单个帖子
旧 2009-05-05, 12:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how can i set text fon

how can i set text font?
how can i set text font?
how can i use dwgdirect toolkit to set text font?
is there any examples about how to use the toolkit?
thank you!
oddbtext entity references oddbtextstyletablerecord. text style hase methods for setting fonts.
oddbmtext can contain special control sequences switching text properties like font, color, height etc.
for example: mtext with contents
"default text {\ftimes new roman|b0|i0|c0|p18;other text}"
displays "default text" strings with font from text style and "other text" string with times new roman.
sergey slezkin
i use opendwg toolkit version 2.0? and the toolkit doesn't have this function or class.
could you please tell me a solution on this version?
dwgdirect from the very first version has classes
oddbtext
oddbmtext
oddbtextstyletablerecord
oddbtext and oddbmtext classes have method settextstyle().
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)