This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.AddLocatorRectangle Method (ArcObjects .NET 10.4 SDK) |
Add a new locator rectangle to the data frame.
[Visual Basic .NET] Public Sub AddLocatorRectangle ( _ ByVal locator As ILocatorRectangle _ )
[C#] public void AddLocatorRectangle ( ILocatorRectangle locator );
[C++]
HRESULT AddLocatorRectangle(
ILocatorRectangle* locator
);
[C++]
Parameters locator [in]
locator is a parameter of type ILocatorRectangle
AddLocatorRectangle is used to add a new locator rectangle to the current MapFrame. A locator rectangle represents the extent of another map frame in the page layout. Use this method to add a reference locator to the map frame.
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property