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


IMapGrid.SetLabelVisibility Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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 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

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