查看单个帖子
旧 2009-05-06, 08:16 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)