Profile Picture

Change Visibility and Color of NPort

Posted By Jan Cruz 2 Months Ago
Author
Message
Jan Cruz
Question Posted 2 Months Ago
View Quick Profile
Junior Member

Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)Junior Member (23 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 8, Visits: 291
Hi,

Is it possible to set visibility of NPorts under NShape.Ports?
Changing color of ports to Transparent would also be helpful.
I wish to add Show/Hide Ports control in my software.

If it's possible, kindly let me know how.

Thank you for your support.


Tags
Nevron Support
This post has been flagged as an answer
Posted 2 Months Ago
View Quick Profile
Supreme Being

Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)Supreme Being (4,434 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 3,053, Visits: 3,931
Hi,

To hide all ports in a drawing, set the ShowPorts property of the drawing's ScreenVisibility child to false as shown below:


NDrawing drawing = drawingView.Content;
drawing.ScreenVisibility.ShowPorts = false;


For more information, see the NOV Diagram Drawings documentation topic.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic