几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】how can i set text fon (http://www.dimcax.com/hust/showthread.php?t=16562)

yang686526 2009-05-05 12:22 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 02:25 PM.