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

IMapFrame.LocatorRectangleCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.LocatorRectangleCount Property
ArcGIS Developer Help

IMapFrame.LocatorRectangleCount Property

The number of locator rectangles.

[Visual Basic .NET]
Public ReadOnly Property LocatorRectangleCount As Integer
public int LocatorRectangleCount {get;}
HRESULT get_LocatorRectangleCount(
  System.Int32* Count
Count [out, retval]

Count is a parameter of type long*

Product Availability

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


LocatorRectangleCount is used to return a count of all the locator rectangles within the MapFrame.  Use this property to determine how many locator rectangles are in the frame.


See Also

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