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