This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.RemoveLocatorRectangle Method (ArcObjects .NET 10.4 SDK) |
Remove a locator rectangle from the data frame.
[Visual Basic .NET] Public Sub RemoveLocatorRectangle ( _ ByVal locator As ILocatorRectangle _ )
[C#] public void RemoveLocatorRectangle ( ILocatorRectangle locator );
[C++]
HRESULT RemoveLocatorRectangle(
ILocatorRectangle* locator
);
[C++]
Parameters locator [in]
locator is a parameter of type ILocatorRectangle
RemoveLocatorRectangle is used to remove the specified locator from the MapFrame. Use this method when you have several locators in the frame and you only want to remove a specific one.
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property