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


IPageLayoutControlDefault.PageLayout Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

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

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