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


IARPageLayout.FocusARMap Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

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