Find parent node of one node

W

weird0

How can i find a whether a node has a parent node or not inside of
Visio drawing control ? Node A is a parent of Node B , if a straight
line is connected from A to B? Is there any way?

I need to know the exact Event when an Arc is connected from A to B
so A becomes a parent of B? So,I can make changes in my
implementation .....

Regards
 
A

Al Edlund

Have you considered capturing a connection added event and then working from
there?
al
 
W

weird0

Yeah! I did. It has an addShape event and a master property.

addedShape.Master

I used the intellisense to explore and find the Parent property, but
in vain. Can someone or u help me on this?


Regards
 
P

Paul Herber

Yeah! I did. It has an addShape event and a master property.

addedShape.Master

I used the intellisense to explore and find the Parent property, but
in vain. Can someone or u help me on this?

The concept of parent node is purely your interpretation of what these
shapes and their connection mean.
You need to look at the Visio SDK, there are examples there of
connection events and how to follow connectors to other shapes.
 

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