Nevron Forum

Adding Ports to connector

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

By Pramod Sreekanthan - Wednesday, December 1, 2010

Hi,

What is the procedure for adding Ports to a NRoutableconnector?

 

Thanks,

Pramod

By Nevron Support - Wednesday, December 1, 2010

Hi,

to add ports to a connector first create the ports collection:

connector.CreateShapeElements(ShapeElementsMask.Ports);

Then just create the ports you want and add them to the Ports collection of the shape.