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


IPageLayoutControl2.PageLayout Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControl2 Interface > IPageLayoutControl2.PageLayout Property
ArcGIS Developer Help

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(
void
);
[C++]
HRESULT putref_PageLayout(
);

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