Profile Picture

Change node/shape selection color

Posted By Miguel Sevilla 12 Years Ago
Author
Message
Miguel Sevilla
explanationmark Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 4, Visits: 1
Hi there, so we want to change the shape selection (highlight) color from Red to something else since we use Red to denote something else. Is there an easy way to do this? if so, a sample would be great. We are using the shape factories to create the various shapes and lines.

thanks for your help,

Miguel

Nevron Support
Posted 12 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,

To change the way the shapes look when selected you should modify the interactivity appearance of the drawing view. Here's an example that changes the stroke style of shapes when selected to green:

view.InteractiveAppearance.SelectedStrokeStyle = new NStrokeStyle(Color.Green);


Best Regards,
Nevron Support Team



Miguel Sevilla
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 4, Visits: 1
Awesome, that worked great. Thanks for the prompt response.



Similar Topics


Reading This Topic