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 | MapFrame Class | IMapFrame Interface | IMapFrame.Map Property