是否可以通过一次添加一个形状来填充ShapeRange? [英] Is it possible to populate a ShapeRange by adding shapes one at a time?

查看:102
本文介绍了是否可以通过一次添加一个形状来填充ShapeRange?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够修改幻灯片上的多个行。


我可以遍历幻灯片上的形状并找到所需的行。


有没有办法一次将它们添加到一个集合中,还是我必须从数组中一次收集一组名称并创建集合?


我希望通过循环遍历集合来修改行的端点。


我应该使用Shapes集合还是ShapeRange来收集对行的引用?

解决方案

嗨Willian,


感谢您在MSDN论坛上发帖。


在我看来,Shapes集合收集该行的引用。


祝你有个美好的一天,


Tom


I would like to be able to modify multiple lines on a slide.

I can loop through the shapes on the slide and find the desired lines.

Is there a way to add them to a collection one at a time or do I have to collect an array of names and create the collection all at once from the array?

I am hoping to modify endpoints of the lines by looping through the collection.

Should I use a Shapes collection or a ShapeRange to collect the references to the lines?

解决方案

Hi Willian,

Thanks for posting in the MSDN Forum.

In my opinion, that Shapes collection to collect references of the line.

Have a good day,

Tom


这篇关于是否可以通过一次添加一个形状来填充ShapeRange?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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