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


IMapGrid.SetTickVisibility 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.SetTickVisibility Method
ArcGIS Developer Help

IMapGrid.SetTickVisibility Method

Sets the visibility of the ticks along all four sides of the map grid.

[Visual Basic .NET]
Public Sub SetTickVisibility ( _
    ByVal leftVis As Boolean, _
    ByVal topVis As Boolean, _
    ByVal rightVis As Boolean, _
    ByVal bottomVis As Boolean _
)
[C#]
public void SetTickVisibility (
    bool leftVis,
    bool topVis,
    bool rightVis,
    bool bottomVis
);
[C++]
HRESULT SetTickVisibility(
  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

SetTickVisibility sets whether the ticks on each side of the map grid will be drawn.

See Also

IMapGrid Interface