ArcObjects Library Reference (Controls)  

IPageLayoutControl2.PageLayout Property

The PageLayout contained by the PageLayoutControl.

[Visual Basic .NET]
Public Property PageLayout As IPageLayout
[C#]
public IPageLayout PageLayout {get; set;}
[C++]
HRESULT get_PageLayout(
  IPageLayout** pPageLayout
);
[C++]
HRESULT putref_PageLayout(
  IPageLayout* pPageLayout
);
[C++]

Parameters

pPageLayout [out, retval]

  pPageLayout is a parameter of type IPageLayout

pPageLayout [in]

  pPageLayout is a parameter of type IPageLayout

Product Availability

Available with ArcGIS Engine.

Description

This is the PageLayout CoClass contained within the PageLayoutControl. If the PageLayout is replaced the IPageLayoutControlEvents::OnPageLayoutReplaced event is triggered.

Errors Returned

1016 800a03f8: The PageLayout must be a valid object

See Also

IPageLayoutControl2 Interface

.NET Samples

Synchronized MapControl and PageLayoutControl application (Code Files: frmMain) |