Iterating through a visio diagram assuming there are no connectors

P

pranav.lal

Hi all,

I need to iterate through a visio diagram. The shapes in the diagram
are visually connected to one another but no connector shapes have
been used. Is this possible? I have sceen some code to determine the
proximity of shapes on a visio page but I have been unable to
understand how to apply it to a generic diagram.

Pranav
 
J

JuneTheSecond

Connect object might be usefull to trace diagram connected with connector or
1Dshape, though it is a bit hard to study.Visio2003 SDK librarian contains
examples.
 
C

Chris Roth [MVP]

Check out the SpatialRelation and SpatialNeighbors functions. These let you
determine which shapes are touching /overlapping / contained / contained-in.

I've got some developer links on my site, including pointers to the Visio
SDK that might help you out. John Marshall's web-site might even have a code
sample about this too:

www.wanderkind.com/visio/vislinks.htm


--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.wanderkind.com/visio
 
P

pranav.lal

Hi Chris,

I know about the SpatialRelation property but did not know about the
SpatialNeighbors function.

This may be worth exploring.
 
P

pranav.lal

JuneTheSecond,
<snip Visio2003 SDK librarian contains
examples.
PL] I have the Visio sdk. Which example are you refering to? Is it the
flowchart example in visual basic .net?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top