几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】exporting multi color te (http://www.dimcax.com/hust/showthread.php?t=16245)

yang686526 2009-05-05 10:32 AM

【转帖】exporting multi color te
 
exporting multi color text
exporting multi color text
hello all,
i am trying to export a text entity (lets say its color is red). is there any way to accomodate its color properties in the control sequence
{\ftimes new roman|b0|i0|c0|p16;text} ? what if some part of the text is red, while the other part is green ? how can i accomodate that ?
thanks,
kedar
this is possible only for mtext not for text entity.
like \f controls font \c<index> or \c<rgb> controls color.
hex rgb mask looks like 00bbggrr.
red color would be:
\c1 - index
or
\c000000ff
sergey slezkin
thanks sergey. that fixed my issue !
btw, where can i find the related documentation ?
kedar


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