The frame element of the map associated with this object's map surround.
[Visual Basic 6.0] Property MapFrame As IMapFrame
[Visual Basic .NET] Public Property MapFrame As IMapFrame
[C#] public IMapFrame MapFrame {get; set;}
[Java] public IMapFrame getMapFrame() throws IOException, AutomationException
[Java] public void setMapFrameByRef( IMapFrame pMapFrame ) throws IOException, AutomationException
[C++] HRESULT get_MapFrame( IMapFrame** MapFrame );
[C++] HRESULT putref_MapFrame( IMapFrame* MapFrame);
Parameters
MapFrame [out, retval]
MapFrame is a parameter of type IMapFrame
MapFrame [in]
MapFrame is a parameter of type IMapFrame
The MapFrame property returns or sets (by reference) the MapFrame associated with the MapSurround object. For instance, when a scale bar is added it is linked to a particular MapFrame. When the scale of the map within the MapFrame is updated, the scale bar in the linked MapSurroundFrame should also update.
Use this property when you want to retrieve of set the MapFrame linked to the MapSurroundFrame object.