This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrame Interface > IMapFrame.LocatorRectangle Method (ArcObjects .NET 10.4 SDK) |
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
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.
IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property