高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】widthfactor Problems
widthfactor problems
widthfactor problems
hello,
i have dxf/dwg files which are not created by autocad and they have text entities with incomplete data. in this case, ratio between text width and text height is not correct. when autocad loads such files, it recalculates and corrects the ratio. apparently, when text is fitted between two points, ratio is not relevant to autocad, and it is recalculated.
in old toolkit&viewkit library, there was a function adcomputenewtextparms,
which corrected text's base point and ratio!
but with new dwgdirect library i can't find the sam functionality any more.
there is a method adjustalignment(), but this just corrects base point.
is there any way, that library corrects the widthfactor for text?
best regards, tomaz
hi,
i was wrong in previous post. method adjustalignment() corrects also text width, if it is needed.
best regards, tomaz
|