高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|