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


IPageLayoutControl.PageLayout Property (ArcObjects .NET 10.4 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(
  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

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