ArcObjects Library Reference  (Carto)    

IMap.ClearMapSurrounds Method

Removes all map surrounds from the map.

[Visual Basic 6.0]
Sub ClearMapSurrounds
[Visual Basic .NET]
Public Sub ClearMapSurrounds ( _
)
[C#]
public void ClearMapSurrounds (
);
[Java]
public void clearMapSurrounds (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ClearMapSurrounds(
void
);

Product Availability

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

Remarks

The ClearMapSurrounds removes all of the surrounds associated with a Map thus resetting the MapSurroundCount to 0.

See Also

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

 


Feedback Send feedback on this page