Profile Picture

How To Hide Ruler Programmatically

Posted By Ashley Davy 4 Years Ago
Author
Message
Ashley Davy
Question Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 3 Years Ago
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

Ashley Davy
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 3 Years Ago
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


Nevron Support
Posted 4 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: 29 minutes ago
Posts: 3,054, Visits: 4,009
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





Similar Topics


Reading This Topic