Nevron Forum

Vertical and Horizontal Lines Errors

https://www.nevron.com/Forum/Topic5409.aspx

By Volvick Derose 1 - Monday, July 25, 2011

I do have a node selected event in my program, where I check for specific shape selection. For any reason, if a user selects and drags the vertical or the horizontal ruler to create a vertical or horizontal line, then there is an exception.

I want to know how to determine the horizontal or the vertical ruler is selected
By Nevron Support - Wednesday, August 3, 2011

Hi Volvick,

please send a sample project that demonstartes the problem to our support e-mail - support@nevron.com. We will check out your code and tell you what's wrong and how to fix it.

By Volvick Derose 1 - Thursday, August 4, 2011

I track it down by putting my code inside a try block, it looks like I receive an undefined object error.

Since I don't need the vertical and the horizontal lines in my program, I wonder if there is a possibility to turn them off. For instance, the users can still see the vertical and the horizontal rulers, but when they drag them it will not create a vertical or horizontal line.

let me know if this feature can be turned off
By Nevron Support - Thursday, August 4, 2011

Hi Volvick,

To turn of the guidelines just use the following line of code:

view.GlobalVisibility.ShowGuidelines = false;