Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Diagram for .NET
»
How To Hide Ruler Programmatically
How To Hide Ruler Programmatically
Post Reply
How To Hide Ruler Programmatically
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Ashley Davy
Ashley Davy
posted 5 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 36,
Visits: 119
I am using the NDrawingViewControl. This is the one without the ribbon or command bar. How do I hide the following: Vertical Ruler, Horizontal Ruler, and Grid?
Thanks,
Ashley
Reply
Like
0
Ashley Davy
Ashley Davy
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 36,
Visits: 119
This is what I am doing to hide the rulers on the NDrawingViewControl but it is not working.
DrawSym.HRuler.Visibility = Nevron.Nov.UI.ENVisibility.Hidden
DrawSym.VRuler.Visibility = Nevron.Nov.UI.ENVisibility.Hidden
Reply
Like
0
Nevron Support
Nevron Support
posted 5 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
You can hide the grid and the rulers on a per drawing basis like this:
drawingViewControl.Widget.Drawing.ScreenVisibility.ShowGrid = false; drawingViewControl.Widget.Drawing.ScreenVisibility.ShowRulers = false;
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search