Nevron Forum

How to change connector types dynamically ???

https://www.nevron.com/Forum/Topic7216.aspx

By Iryna Borzenko - Thursday, December 13, 2012

Please help!

Is there possibility to change connector type for Example from NStep2Connector to NLineShape and vise verse dynamically ??!! Removing/Adding way isn't acceptible...

I spend a lot of time to investigate this issue and found NRoutableConnector. Can i set steps count for this connector in case of ConnectorType.DynamicHV to make it looking like NStep2Connector? Also can I use ConnectorType.DynamicCurve to make line similar with NLineShape??

Thanks in advance!
By Nevron Support - Thursday, December 13, 2012

Hi,

Yes, you can use routable connectors to achieve your goals. You can modify the points collection of the routable connector in order to add/remove/modify its bends.

By Iryna Borzenko - Thursday, December 13, 2012

How to work with those points? Can you describe it more detail?