|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IToolSelectedLayer
Provides access to members that set and get the current selected layer, which selection commands and tools works on.
Implement the IToolSelectedLayer interface if you are creating a custom Command that operates with a currently 'selected' layer.
This interface is typically used when creating commands to work with the MapControl, PageLayoutControl, ToolbarControl, SceneControl and GlobeControl. If a custom command is created to work with only ArcMap use the IMxDocument::SelectedLayer property instead.
| Method Summary | |
|---|---|
int |
getLayerIndex()
The index of selected layer. |
void |
setLayerIndex(int layerIndex)
The index of selected layer. |
| Method Detail |
|---|
void setLayerIndex(int layerIndex)
throws IOException,
AutomationException
layerIndex - The layerIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getLayerIndex()
throws IOException,
AutomationException
The index of the currently 'selected' layer that the Command operates with.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||