Profile Picture

How To Hide Ruler Programmatically

Posted By Ashley Davy Last Year
Author
Message
Ashley Davy
Question Posted Last Year
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: Last Month
Posts: 33, Visits: 108
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 Last Year
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: Last Month
Posts: 33, Visits: 108
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 Last Year
View Quick Profile
Supreme Being

Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)

Group: Forum Members
Last Active: 1 days ago @ 7:47 AM
Posts: 2,945, Visits: 3,303
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