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


IMapFrame.RemoveAllLocatorRectangles Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapFrame.RemoveAllLocatorRectangles Method

Remove all the locator rectangles from the data frame.

[Visual Basic .NET]
Public Sub RemoveAllLocatorRectangles ( _
)
[C#]
public void RemoveAllLocatorRectangles (
);
[C++]
HRESULT RemoveAllLocatorRectangles(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

 

 

See Also

IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property