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


IMapFrame.LocatorRectangle Method (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.LocatorRectangle Method
ArcGIS Developer Help

IMapFrame.LocatorRectangle Method

Returns the locator rectangle at the specified index.

[Visual Basic .NET]
Public Function LocatorRectangle ( _
    ByVal Index As Integer _
) As ILocatorRectangle
[C#]
public ILocatorRectangle LocatorRectangle (
    int Index
);
[C++]
HRESULT LocatorRectangle(
  long Index
);
[C++]
Parameters
Index [in]

Index is a parameter of type long

Product Availability

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

Remarks

LocatorRectangle can be used to retrieve the specified locator from the MapFrame.  Use this method when you need to obtain a specific locator rectangle and you know the index number of that object within the frame.

 

See Also

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