This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.RemoveAllLocatorRectangles Method (ArcObjects .NET 10.4 SDK) |
Remove all the locator rectangles from the data frame.
[Visual Basic .NET]
Public Sub RemoveAllLocatorRectangles ( _
)
[C#] public void RemoveAllLocatorRectangles ( );
[C++]
HRESULT RemoveAllLocatorRectangles(
void
);
RemoveAllLocatorRectangles is used to remove all of the locator rectangles within the MapFrame. Use this method when you have one or more locator rectangles and you want them deleted from the frame.
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property