This document is archived and information here might be outdated.  Recommended version.


IPageLayoutControl.GraphicsContainer Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IPageLayoutControl.GraphicsContainer Property

The graphics container of the PageLayout object contained by the PageLayoutControl.

[Visual Basic .NET]
Public ReadOnly Property GraphicsContainer As IGraphicsContainer
[C#]
public IGraphicsContainer GraphicsContainer {get;}
[C++]
HRESULT get_GraphicsContainer(
  IGraphicsContainer** ppGraphicsContainer
);
[C++]

Parameters ppGraphicsContainer [out, retval]
ppGraphicsContainer is a parameter of type IGraphicsContainer

Product Availability

Available with ArcGIS Engine.

Description

This property is a shortcut to IActiveView::GraphicsContainer.

Remarks

This property will always return a reference to the PageLayout's GraphicsContainer rather than to any GraphicsContainer associated with a Map.

See Also

IPageLayoutControl Interface

.NET Samples

Use a PageLayoutControl as an overview window (Code Files: Overview)