Connector constraints

T

twingate

Hi all,

Without having looked at the API: Is it possible to create
connectors with constraints as to what shape they will and
won't connect to? What would be a good starting-point for this?
I imagine there must be an event-handler for connectors like
Connector::OnConnect?

Any suggestions would be much appreciated


Thanks,
Thomas
 
M

Mark Nelson [MS]

You can handle the ConnectionAdded and ConnectionDeleted events to find out
about connectivity changes. There is not a way to constrain the connectors,
so you would have to listen for the events and then undo any undesirable
actions.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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