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