开发者

PowerPoint - Getting the original Shape from inside a Placeholder (programatically)

I'll give an example with a SmartArt Shape, but it could be asked about other shapes too.

When I go over Slide.Shapes, one of the Shapes has:

Shape.Type=msoPlaceholder and Shape.PlaceholderFormat.ContainedType=msoSmartArt

Is th开发者_如何学JAVAere a way to get to the actual SmartArt Shape contained in the placeholder?


Late but in case anyone looks for an answer to this later:

On approach is to copy the placeholder shape. The copy will be a duplicate of whatever the .ContainedType of the placeholder was, not a placeholder itself.

This works in 2007 as well, btw.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜