This document is archived and information here might be outdated.  Recommended version.


IMapGrid.SetLabelVisibility Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrid Interface > IMapGrid.SetLabelVisibility Method
ArcGIS Developer Help

IMapGrid.SetLabelVisibility Method

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 bool topVis [in]
topVis is a parameter of type bool rightVis [in]
rightVis is a parameter of type bool bottomVis [in]
bottomVis is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

SetLabelVisibility sets whether the labels on each of the sides of the map grid will be drawn.

See Also

IMapGrid Interface