com.esri.arcgis.cartoUI
Interface IDatumChecker

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDatumChecker2
All Known Implementing Classes:
DatumChecker

public interface IDatumChecker
extends Serializable

Provides access to members that check for datum inconsistencies.

Superseded By

IDatumChecker2

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean addLayerCheck(IMap map, ILayer layer, int parentHWnd)
          Adds a layer and checks for datum inconsistencies.
 void addLayerReset()
          Resets an AddLayer loop.
 boolean setSpatialReferenceCheck(IMap map, ISpatialReference spatialReference, int parentHWnd)
          Checks for a change to the data frame's spatial reference.
 

Method Detail

addLayerCheck

boolean addLayerCheck(IMap map,
                      ILayer layer,
                      int parentHWnd)
                      throws IOException,
                             AutomationException
Adds a layer and checks for datum inconsistencies.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToAdd
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayerReset

void addLayerReset()
                   throws IOException,
                          AutomationException
Resets an AddLayer loop.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceCheck

boolean setSpatialReferenceCheck(IMap map,
                                 ISpatialReference spatialReference,
                                 int parentHWnd)
                                 throws IOException,
                                        AutomationException
Checks for a change to the data frame's spatial reference.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToChange
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.