Page layout of hooked control or application.
[Visual Basic 6.0] Property PageLayout As IPageLayout
[Visual Basic .NET] Public ReadOnly Property PageLayout As IPageLayout
[C#] public IPageLayout PageLayout {get;}
[Java] public IPageLayout getPageLayout() throws IOException, AutomationException
[C++] HRESULT get_PageLayout( IPageLayout** ppPageLayout );
The PageLayout of the hook passed to the ICommand::OnCreate event. The Pagelayout is returned regardless of whether the hook is a PageLayoutControl, ToolbarControl (with a 'buddy' PageLayoutControl) or ArcMap.
If the hook is a MapControl the property will return nothing as PageLayout objects are not supported.
1059 800A0423: The supplied hook is not a valid object.
1060 800A0424: The supplied hook is not valid.
1061 800A0425: IARPageLayout::get_InternalObject failed.