This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMap Interface > IMap.CreateMapSurround Method (ArcObjects .NET 10.5 SDK) |
Create and initialize a map surround. An optional style from the style gallery may be specified.
[Visual Basic .NET] Public Function CreateMapSurround ( _ ByVal CLSID As UID, _ ByVal optionalStyle As IMapSurround _ ) As IMapSurround
[C#] public IMapSurround CreateMapSurround ( UID CLSID, IMapSurround optionalStyle );
[C++]
HRESULT CreateMapSurround(
IUID* CLSID,
IMapSurround* optionalStyle,
IMapSurround** MapSurround
);
[C++]
Parameters CLSID [in]
CLSID is a parameter of type IUID optionalStyle [in]
optionalStyle is a parameter of type IMapSurround MapSurround [out, retval]
MapSurround is a parameter of type IMapSurround
IMap Interface | IMapFrame.CreateSurroundFrame Method | IMap.CreateMapSurround Method | IMap.AddMapSurround Method | IMap.ClearMapSurrounds Method | IMap.DeleteMapSurround Method