形状终点操作 [英] Shape End Point Manipulation
问题描述
我需要打开一个包含形状(5点星)的现有WordprocessingDocument编辑星点,并将其保存为新文档。 我尝试使用 生产力工具来比较文档 但看起来它显示了我
如何创建新形状但不是真正如何编辑现有形状的点。 有什么建议吗?
I need to open an existing WordprocessingDocument containing a shape (5-point star) edit the points of the star and save it as a new document. I tried using the productivity tool to compare the documents but it looks like it is showing me how to create a new shape but not really how to edit the points of an existing shape. Any suggestions?
推荐答案
你好,
如果你看一下teh工具生成的代码,它会告诉你需要什么类来获得点/如何添加一个点。一旦你知道了这些类,你就可以在你的代码中使用它们来访问这些点,然后更改它们。
If you look at the code generated from teh tool, it will tell you what classes needed in order to get the point/how to add a point. Once you know those classes, you can simply use them in your code to access those points and then change them.
基本上你用的是用来添加形状的类,你可以:
Basically one you the classes which are used to add shapes, you can:
1。获得形状
2.检查用于创建积分的班级
3.从形状中,尝试获得积分¥b $ b 4.更改它们
1. Get the Shape
2. Check which class is being used to create the points
3. From the Shape, try to get the points
4. Change them
请试试这个,让我知道它是否有效!
Please try this and let me know if it works!
谢谢你们,
Ankush
Thanks
Ankush
这篇关于形状终点操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!