This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlEvents Interface > IPageLayoutControlEvents.OnPageLayoutReplaced Event (ArcObjects .NET 10.5 SDK) |
Fires after the PageLayout object used by the PageLayoutControl has been replaced.
[Visual Basic .NET] Public Event OnPageLayoutReplaced As OnPageLayoutReplacedEventHandler
[C#] public event OnPageLayoutReplacedEventHandler OnPageLayoutReplaced
[C++]
HRESULT OnPageLayoutReplaced(
VARIANT newPageLayout
);
[C++]
Parameters newPageLayout [in] newPageLayout is a parameter of type VARIANT
The OnPageLayoutReplaced event is triggered whenever the IPageLayoutControl::PageLayout is replaced by another PageLayout, such as when the IPageLayoutControl::LoadMxFile method is used or when the PageLayout property is explicitly replaced. Use this event to keep in synch with the current IPageLayoutControl::PageLayout.