Change Visibility and Color of NPort


https://www.nevron.com/Forum/Topic14510.aspx
Print Topic | Close Window

By Jan Cruz - 2 Months Ago
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.
By Nevron Support - 2 Months Ago
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.