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


IARPageLayout.FocusARMap Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.FocusARMap Property
ArcGIS Developer Help

IARPageLayout.FocusARMap Property

The current focus map that the current tool acts upon.

[Visual Basic .NET]
Public Property FocusARMap As ARMap
[C#]
public ARMap FocusARMap {get; set;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

Errors Returned

2036 800A07F4: Cannot set the focus map to an empty object 

Remarks

The FocusARMap property will return an error if it is set to Nothing.

See Also

IARPageLayout Interface