This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.ShowRulers Property (ArcObjects .NET 10.5 SDK) |
Indicates if rulers are visible.
[Visual Basic .NET] Public Property ShowRulers As Boolean
[C#] public bool ShowRulers {get; set;}
[C++]
HRESULT get_ShowRulers(
VARIANT_BOOL* ShowRulers
);
[C++]
HRESULT put_ShowRulers(
VARIANT_BOOL ShowRulers
);
[C++]
Parameters ShowRulers [out, retval] ShowRulers is a parameter of type VARIANT_BOOL ShowRulers [in] ShowRulers is a parameter of type VARIANT_BOOL
This property is a boolean flag that applications use to determine whether or not to draw rulers.
This property cannot be set for Maps, they always have rulers turned off.
The PageLayout is the only active view with rulers; an active view change is required before the setting is reflected in the applications window.