![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 01:56 AM. |