cannel 发表于 2009-6-25 11:50:00

[求助]修改text的对齐属性会使text坐标返回0,0点

<p>添加一个text类型的Entity,添加后修改Alignment和styleName属性,之后这个text会被自动移动到0,0点</p><p>之后我分别试了试不修改Alignment和stylename属性,发现只要修改Alignment就会出现上述问题</p><p>请问这样的问题存在吗??</p>

黄玉宏 发表于 2009-6-25 12:48:00

<p><font face="宋体" color="#000000">修改了单行文字的对齐属性,要重新给定对齐点才行!</font></p><p><font color="#000000"><strong>TextAlignmentPoint = </strong><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 宋体; mso-bidi-font-family: &quot;Times New Roman&quot;; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">InsertionPoint 此处的<span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 宋体; mso-bidi-font-family: &quot;Times New Roman&quot;; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">InsertionPoint为插入点或已知点,不会改变其插入点坐标的!</span></font></span></p>

cannel 发表于 2009-6-25 16:33:00

黄玉宏发表于2009-6-25 12:48:00static/image/common/back.gif修改了单行文字的对齐属性,要重新给定对齐点才行!TextAlignmentPoint = InsertionPoint 此处的InsertionPoint为插入点或已知点,不会改变其插入点坐标的!原来是这样,谢了
页: [1]
查看完整版本: [求助]修改text的对齐属性会使text坐标返回0,0点