com.esri.arcgis.arcmapui
Interface IAddLayersOperation

All Superinterfaces:
Serializable
All Known Implementing Classes:
AddLayersOperation

public interface IAddLayersOperation
extends Serializable

Provides access to members that control the Add layers operation.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void addLayer(ILayer layer)
          Layer to be added.
 void setArrangeLayers(boolean rhs1)
          A Boolean expression that represents whether the layers need to arranged as per their shape.
 void setDestinationInfo(int atIndex, IMap pDestinationMap, Object pDestinationGroup)
          Information regarding where the the layer needs to be added.
 void setName(String rhs1)
          Name of the the operation.
 

Method Detail

addLayer

void addLayer(ILayer layer)
              throws IOException,
                     AutomationException
Layer to be added.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDestinationInfo

void setDestinationInfo(int atIndex,
                        IMap pDestinationMap,
                        Object pDestinationGroup)
                        throws IOException,
                               AutomationException
Information regarding where the the layer needs to be added. pDestination can be a Map or a GroupLayer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
atIndex - The atIndex (in)
pDestinationMap - A reference to a com.esri.arcgis.carto.IMap (in)
pDestinationGroup - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setArrangeLayers

void setArrangeLayers(boolean rhs1)
                      throws IOException,
                             AutomationException
A Boolean expression that represents whether the layers need to arranged as per their shape.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

void setName(String rhs1)
             throws IOException,
                    AutomationException
Name of the the operation.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.