This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.Container Property (ArcObjects .NET 10.4 SDK) |
The frame's container.
[Visual Basic .NET] Public Property Container As IGraphicsContainer
[C#] public IGraphicsContainer Container {get; set;}
[C++]
HRESULT get_Container(
IGraphicsContainer** Container
);
[C++]
HRESULT putref_Container(
IGraphicsContainer* Container
);
[C++]
Parameters Container [out, retval]
Container is a parameter of type IGraphicsContainer Container [in]
Container is a parameter of type IGraphicsContainer
The Container property provides access to the PageLayout object that the MapFrame object resides within. The back pointer to the PageLayout is needed so that the container can be refreshed when the MapFrame is updated via a connection point (i.e., not through the PageLayout itself).
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property