This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandHook Interface > ICommandHook.PageLayout Property (ArcObjects .NET 10.4 SDK) |
Page layout of control or application. Return NULL if not supporting page layout.
[Visual Basic .NET] Public ReadOnly Property PageLayout As IPageLayout
[C#] public IPageLayout PageLayout {get;}
[C++]
HRESULT get_PageLayout(
IPageLayout** ppPageLayout
);
[C++]
Parameters ppPageLayout [out, retval]
ppPageLayout is a parameter of type IPageLayout
The IPageLayout object used by the custom control or application.
The HookHelper is often used in custom commands and the IHookHelper::PageLayout can return the IPageLayout of the hook by using this property.