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.OnPageSizeChanged Event (ArcObjects .NET 10.5 SDK) |
Fires when the Page associated with the PageLayout has had its size changed.
[Visual Basic .NET] Public Event OnPageSizeChanged As OnPageSizeChangedEventHandler
[C#] public event OnPageSizeChangedEventHandler OnPageSizeChanged
[C++]
HRESULT OnPageSizeChanged(
void
);
This event is a shortcut to the IPageEvents::PageSizeChanged event and is triggered whenever the page size of the IPageLayoutControl::Page changes.
//Landscape axPageLayoutControl1.Page.Orientation=2; //A3 axPageLayoutControl1.Page.FormID=esriPageFormID.esriPageFormA3;
'Landscape AxPageLayoutControl1.Page.Orientation=2 'A3 AxPageLayoutControl1.Page.FormID=esriPageFormID.esriPageFormA3