title: List of objects in front of an object in PowerPoint using VSTO
body: <p>There are few shape objects in a PowerPoint slide. The rectangle, ellipse, parallelogram, triangle and pentagon were drawn in that order meaning rectangle is at the back of all objects.</p>
  <p>When iterating through the objects in PowerPoint, <strong>is it possible to get a list of all objects that lie in front/behind of an object and fall partially or fully within it</strong>. There may be a lot of objects in the PowerPoint and comparing each object against each object is a not a favorable solution.</p>
  <p>I would like to get the list of objects(in this case - ellipse, parallelogram and triangle) against the rectangle. How can I achieve that programmatically using VSTO?</p>
  <p><a href="https://i.stack.imgur.com/GR26d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GR26d.png" alt="Source PowerPoint slide" /></a></p>