高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how to set the displace of text for dimension indication
how to set the displace of text for dimension indication?
how to set the displace of text for dimension indication?
// settextattachment function don't play the role in opendwg
// oddbdimensionptr pad
pad->settextattachment(oddbmtext::ktopleft);
pad->settextlinespacingstyle(oddb::kexactly);
pad->settextposition(toacad(&pappearance->pttxtlocation));
pad->usesettextposition();
my question is as followings:
1)what is the role of settextattachment function ?
2)used the format of text replace for dimension indication, if text insert point is in the location of top&left,what can i do for it?
text position of dimension entity can be calculated autimatically or it can be set explicitely if
settextposition() and usesettextposition() are called.
settextattachment() defines how text is located around point passed to settextposition().
see oddbmtext::setattachement()
sergey slezkin
|