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


IMapSurroundFrame.MapSurround Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapSurroundFrame Interface > IMapSurroundFrame.MapSurround Property
ArcGIS Developer Help

IMapSurroundFrame.MapSurround Property

The map surround displayed by this frame element.

[Visual Basic .NET]
Public Property MapSurround As IMapSurround
[C#]
public IMapSurround MapSurround {get; set;}
[C++]
HRESULT get_MapSurround(
  IMapSurround** MapSurround
);
[C++]
HRESULT putref_MapSurround(
  IMapSurround* MapSurround
);
[C++]
Parameters
MapSurround [out, retval]

MapSurround is a parameter of type IMapSurround** MapSurround [in]
MapSurround is a parameter of type IMapSurround*

Product Availability

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

Remarks

The MapSurround property allows you to retrieve or set the surround object (north arrow, legend, or scale bar) stored within the frame.

 

See Also

IMapSurroundFrame Interface

.NET Samples

Update a legend format with SymbologyControl area and line patches