This document is archived and information here might be outdated. Recommended version. |
Deletes a map grid from the map frame.
[Visual Basic .NET] Public Sub DeleteMapGrid ( _ ByVal MapGrid As IMapGrid _ )
[C#] public void DeleteMapGrid ( IMapGrid MapGrid );
[C++]
HRESULT DeleteMapGrid(
IMapGrid* MapGrid
);
[C++] Parameters MapGrid [in]
MapGrid is a parameter of type IMapGrid*
DeleteMapGrid is used to remove the specified IMapGrid from the MapFrame. After executing the method, you still have a valid IMapGrid that could then be added to a different MapFrame.