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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
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.
See Also
IMapFrame Interface | MapFrame Class | IMapFrame Interface | IMapFrame.Map Property