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

yang686526 2009-05-06 08:16 PM

【转帖】oddbtext and bigfon
 
oddbtext and bigfont
oddbtext and bigfont
what is best way to see if oddbtext has bigfont?
in style dialog in autocad, checkbox get's ticked.
thx
cpcp
hi!
there is only one way to see if oddbtext has bigfont. see text style property.
oddbtextptr text; // some text
oddbtextstyletablerecordptr tstbl = text->textstyleid().safeopenobject();
odstring bigfnt = tstbl->bigfontfilename();
if ( !bigfnt.isempty() )
{
// oddbtext has bigfont, but it doesn't mean what necessarily text has symbols from big font
}
best regards,
sergey z.


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