Profile Picture

NGroup and ports

Posted By Michael Heyda 14 Years Ago
Author
Message
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Michael,

To create the ports collection, use the following syntax:

 

shape.CreateShapeElements(ShapeElementsMask.Ports);



Best Regards,
Nevron Support Team



Michael Heyda
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 3, Visits: 1
I'm trying to create a tree using NTreeLayout but I need to create shapes similar to the UML diagram, but need control over the layout. It seems like the way to do this is to create a group for each vertex in the tree and then put a title control and a table control in it. I can get this far but I can't add ports to the group for use in the tree. The Ports collections on the NGroup object is null and read-only.

Is this the correct approach, and if so how do I handle the ports. If this is not the correct approach, what is?



Similar Topics


Reading This Topic