图像的锚点没有移出Word 2013中的表格 [英] Anchor of the Image not moving out of the Table in Word 2013

查看:87
本文介绍了图像的锚点没有移出Word 2013中的表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,

Hello Everyone,

我正在使用Microsoft Word 2013加载项。我正在以编程方式在表的第一行第一列中的某个内容上创建一个形状。我在表开始之前在段落上设置图像的锚点。在第一步中,
应用于正确位置的形状和放置在正确位置的锚点(图像1),但在Word文档中几次波动之后,锚点再次在表格内移动(图像2)。我在Word 2010版本中检查了相同的功能,并且它根据需要工作
,但在Word 2013中,它不起作用。 

I am working on Microsoft Word 2013 Add-In. I am creating a shape programatically over a certain piece of content in the first row, first column of the table. I am setting the anchor of the image on the paragraph before the table starts. In the first step, the shape applied on the right place and anchor placed on the right place (Image 1), but after few fluctuations in the Word document, the anchor moves inside the table again (Image 2). I checked the same functionality in the Word 2010 version and it's working as required, but in Word 2013, it's not working. 

以下是显示发生更改的图像在word文档中:

Here are the images showing the changes happening in the word document:

第1步:

第2步:

如果有任何解决方案,请告诉我。 

Let me know, if there is any solution for that. 

谢谢,

Shahab Abbasi

Shahab Abbasi

推荐答案

Hi Shahab,

>>在Word文档中几次波动之后,锚点再次在表格内移动(图2)。我

"少量波动"是什么意思?哪个操作让锚移动?如果您可以分享我们的代码和简单的步骤,那么我们可以尝试重现您的问题。

对于一般性建议,我建议您检查
Shape.LockAnchor属性
是否可行。

For a general suggestion, I suggest you check Shape.LockAnchor property whether it will work.

最诚挚的问候,

爱德华


这篇关于图像的锚点没有移出Word 2013中的表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆