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

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

IMapGrid.SetDefaults Method

Sets the properties of the map grid to default values.

[Visual Basic .NET]
Public Sub SetDefaults ( _
    ByVal pMapFrame As IMapFrame _
public void SetDefaults (
    IMapFrame pMapFrame
HRESULT SetDefaults(
  IMapFrame* pMapFrame
pMapFrame [in]

pMapFrame is a parameter of type IMapFrame*

Product Availability

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

See Also

IMapGrid Interface