Author Topic: Retrive the Visio 2010 container from contained shape?  (Read 8192 times)

0 Members and 1 Guest are viewing this topic.

Aravind

  • Newbie
  • *
  • Posts: 9
Retrive the Visio 2010 container from contained shape?
« on: October 14, 2009, 05:28:31 AM »
Assume that a shape(x) is present inside a container(Y). From container(Y) we can get the shape(x) from the shapes contained in it. Is it possible to retrieve the container(Y) shape from the shape(x) in Visio2010? 
« Last Edit: October 14, 2009, 11:13:57 AM by Visio Guy »

aledlund

  • Hero Member
  • *****
  • Posts: 1412
Re: Retrive the Visio 2010 container from contained shape?
« Reply #1 on: October 14, 2009, 06:57:57 AM »
You might check this post by David Parker. He has a routine that lists where things are and is probably modifiable.

http://bvisual.spaces.live.com/blog/cns!3350D61BC93733A9!1811.entry

al
« Last Edit: October 14, 2009, 11:13:35 AM by Visio Guy »

Aravind

  • Newbie
  • *
  • Posts: 9
Re: Retrive the Visio 2010 container from contained shape?
« Reply #2 on: October 14, 2009, 08:41:39 AM »
Thanks. This is the exact thing I was looking for.

Shape.MemberOfContainers()
 
This method solves all my queries
« Last Edit: October 14, 2009, 11:13:49 AM by Visio Guy »