Get Layout Shape Corresponding to Slide Shape
Posted
by Ryan
on Stack Overflow
See other posts from Stack Overflow
or by Ryan
Published on 2010-01-14T00:07:55Z
Indexed on
2010/03/18
6:11 UTC
Read the original article
Hit count: 940
In PP2007 and using VBA, how can I get the placeholder shape on a Slide Master layout that is the "master" for a placeholder shape on the slide?
I am currently using a loop to compare the position and size of the slide placeholder with the position and shape of each placeholder shape in the slide's layout, but this isn't fool-proof. For example, if the placeholder shape is moved on the slide, its position may no longer match the position of any placeholder shapes in the slide's layout. I could reapply the slide's layout to snap placeholders back into position, but that's not what I want to do.
Something in the object model like "Shape.Master" would be ideal but, of course, that doesn't exist.
© Stack Overflow or respective owner