This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.FocusARMap Property (ArcObjects .NET 10.5 SDK) |
The current focus map that the current tool acts upon.
[Visual Basic .NET] Public Property FocusARMap As ARMap
[C#] public ARMap FocusARMap {get; set;}
An ARPageLayout may contain one or more ARMap objects. The FocusARMap is the ARMap that has focus and is visible when CurrentView is in 'Data View'. Changing the FocusARMap triggers the IARControlEvents::OnFocusARMapChanged event.
2036 800A07F4: Cannot set the focus map to an empty object
The FocusARMap property will return an error if it is set to Nothing.