ArcObjects Library Reference  (Carto)    

IMap.DeleteMapSurround Method

Deletes a map surround from the map.

[Visual Basic 6.0]
Sub DeleteMapSurround(
    ByVal MapSurround As IMapSurround _
)
[Visual Basic .NET]
Public Sub DeleteMapSurround ( _
    ByVal MapSurround As IMapSurround _
)
[C#]
public void DeleteMapSurround (
    IMapSurround MapSurround
);
[Java]
public void deleteMapSurround (
    IMapSurround MapSurround
)
throws
    IOException,
    AutomationException
[C++]
HRESULT DeleteMapSurround(
  IMapSurround* MapSurround
);
[C++]

Parameters

MapSurround [in]

  MapSurround is a parameter of type IMapSurround

Product Availability

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

Remarks

DeleteMapSurround method removes the MapSurround object from the Map and decrements the MapSurroundCount by 1.

See Also

IMap Interface | IMap.DeleteMapSurround Method | IMap.ClearMapSurrounds Method | IMap.CreateMapSurround Method | IMap.AddMapSurround Method

 


Feedback Send feedback on this page