几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】problem about set underline for mtext1 (http://www.dimcax.com/hust/showthread.php?t=17999)

yang686526 2009-05-06 10:35 PM

【转帖】problem about set underline for mtext1
 
problem about set underline for mtext!
problem about set underline for mtext!
dear all,
how can i set underline for mtext?
i use function oddbmtext::underon() and underoff(), but i can't set underline for mtext!
i am looking forward to your help.
dd version 2.5.1
hello,
oddbmtext::underon() and underoff() methods return switchs for mtex string.
you can set underline for all mtext by next way
oddbmtext::setcontents( oddbmtext::underon() + oddbmtext::setcontents + oddbmtext::underoff());
last oddbmtext::underoff() is not necessary in this case. you may make underlined part of mtext also.
best regards,
sergey z.

thank you very much.
i will try it.
you are great!
it works well now.
thank you again!


所有的时间均为北京时间。 现在的时间是 12:00 AM.