This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrid Interface > IMapGrid.SetLabelVisibility Method (ArcObjects .NET 10.5 SDK) |
Sets the visibility of the labels along all four sides of the map grid.
[Visual Basic .NET] Public Sub SetLabelVisibility ( _ ByVal leftVis As Boolean, _ ByVal topVis As Boolean, _ ByVal rightVis As Boolean, _ ByVal bottomVis As Boolean _ )
[C#] public void SetLabelVisibility ( bool leftVis, bool topVis, bool rightVis, bool bottomVis );
[C++]
HRESULT SetLabelVisibility(
VARIANT_BOOL leftVis,
VARIANT_BOOL topVis,
VARIANT_BOOL rightVis,
VARIANT_BOOL bottomVis
);
[C++]
Parameters leftVis [in] leftVis is a parameter of type VARIANT_BOOL topVis [in] topVis is a parameter of type VARIANT_BOOL rightVis [in] rightVis is a parameter of type VARIANT_BOOL bottomVis [in] bottomVis is a parameter of type VARIANT_BOOL
SetLabelVisibility sets whether the labels on each of the sides of the map grid will be drawn.