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;}
[C++] public: __property IMapFrame get_MapFrame(); public: __property void set_MapFrame(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.