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


IPageLayoutControl.PageLayout Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IPageLayoutControl.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

IPageLayoutControl Interface | IPageLayoutControl.Page Property | IPageLayoutControl.Printer Property | IPageLayoutControl.PrintPageLayout Method | IPageLayoutControl.PrinterPageCount Property