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


ICommandHook.PageLayout Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandHook Interface > ICommandHook.PageLayout Property
ArcGIS Developer Help

ICommandHook.PageLayout Property

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**

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

ICommandHook Interface