ArcObjects Library Reference (Carto)  

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,
  ILocatorRectangle** locator
);
[C++]

Parameters

Index [in]   Index is a parameter of type long locator [out, retval]

  locator is a parameter of type ILocatorRectangle

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