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


IMapGrid.Name Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapGrid.Name Property

The name of the map grid.

[Visual Basic .NET]
Public Property Name As String
[C#]
public string Name {get; set;}
[C++]
HRESULT get_Name(
  System.String* gridName
);
[C++]
HRESULT put_Name(
  BSTR gridName
);
[C++]

Parameters gridName [out, retval]
gridName is a parameter of type BSTR* gridName [in]
gridName is a parameter of type BSTR

Product Availability

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

Description

Name is the name of the grid as it appears in the dataframe properties.

See Also

IMapGrid Interface

.NET Related Topics

Creating map grid labels | How to create map grids