Profile Picture

Change Visibility and Color of NPort

Posted By Jan Cruz Last Year
Author
Message
Jan Cruz
Question Posted Last Year
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 Week
Posts: 10, Visits: 346
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 Last Year
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: 2 days ago @ 4:12 AM
Posts: 3,055, Visits: 4,042
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