ArcObjects Library Reference (Carto)  

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 Snippets

Add North Arrow | Add Scale Bar | Add Legend |

.NET Samples

Update a legend format with SymbologyControl area and line patches (Code Files: AreaLinePatches) |

.NET Related Topics

Working with map surrounds |