com.esri.arcgis.catalogUI
Interface ISpatialReferenceDialog

All Superinterfaces:
Serializable
All Known Implementing Classes:
SpatialReferenceDialog

public interface ISpatialReferenceDialog
extends Serializable

Provides access to members that control the Spatial Reference Dialog.

Superseded By

ISpatialReferenceDialog3

Remarks

Use ISpatialReferenceDialog2 if you want to individually control which domain and precision (resolution) values (xy, z, or measure) are editable through the DoModelEdit method.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 ISpatialReference doModalCreate(boolean hasXY, boolean hasZ, boolean hasM, int hParent)
          Prompts the user to define a new spatial reference.
 ISpatialReference doModalEdit(ISpatialReference inputSpatialReference, boolean hasXY, boolean hasZ, boolean hasM, boolean coordPageReadOnly, boolean domainPageReadOnly, int hParent)
          Displays/edits the properties of the given spatial reference.
 

Method Detail

doModalCreate

ISpatialReference doModalCreate(boolean hasXY,
                                boolean hasZ,
                                boolean hasM,
                                int hParent)
                                throws IOException,
                                       AutomationException
Prompts the user to define a new spatial reference.

Remarks

Set the hasXY, hasZ, and hasM parameters to True if you want to be able to define the domain and precision (resolution) values.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hasXY - The hasXY (in)
hasZ - The hasZ (in)
hasM - The hasM (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEdit

ISpatialReference doModalEdit(ISpatialReference inputSpatialReference,
                              boolean hasXY,
                              boolean hasZ,
                              boolean hasM,
                              boolean coordPageReadOnly,
                              boolean domainPageReadOnly,
                              int hParent)
                              throws IOException,
                                     AutomationException
Displays/edits the properties of the given spatial reference.

Remarks

If the coordPageReadOnly parameter is True, the user cannot edit the coordinate system information. Set the hasXY, hasZ, or hasM parameters to True if you wish to display or edit the domain and precision (resolution) values. If the domainPageReadOnly parameter is True, you cannot edit the domain and precision (resolution) values.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
inputSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
hasXY - The hasXY (in)
hasZ - The hasZ (in)
hasM - The hasM (in)
coordPageReadOnly - The coordPageReadOnly (in)
domainPageReadOnly - The domainPageReadOnly (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.