Change Visibility and Color of NPort


Author
Message
RLDP 2000
RLDP 2000
Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)
Group: Forum Members
Posts: 11, Visits: 385
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search