Create and initialize a map surround. An optional style from the style gallery may be specified.
[Visual Basic 6.0] Function CreateMapSurround(
ByVal clsid As IUID, _
ByVal optionalStyle As IMapSurround _
) As IMapSurround
[Visual Basic .NET] Public Function CreateMapSurround ( _ ByVal clsid As UID, _ ByVal optionalStyle As IMapSurround _ ) As IMapSurround
[C#] public IMapSurround CreateMapSurround ( UID clsid, IMapSurround optionalStyle );
[Java] public IMapSurround createMapSurround ( UID clsid, IMapSurround optionalStyle ) throws IOException, AutomationException
[C++] HRESULT CreateMapSurround( IUID* clsid, IMapSurround* optionalStyle, IMapSurround** MapSurround );
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.DeleteMapSurround Method | IMap.ClearMapSurrounds Method | IMap.CreateMapSurround Method | IMap.AddMapSurround Method