com.esri.arcgis.catalogUI
Interface ISpatialReferenceDialog2

All Superinterfaces:
Serializable
All Known Implementing Classes:
SpatialReferenceDialog

public interface ISpatialReferenceDialog2
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 xyDomainPageReadOnly, boolean mDomainPageReadOnly, boolean zDomainPageReadOnly, 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.

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 xyDomainPageReadOnly,
                              boolean mDomainPageReadOnly,
                              boolean zDomainPageReadOnly,
                              int hParent)
                              throws IOException,
                                     AutomationException
Displays/edits the properties of the given spatial reference.

Description

Provides access to the XY, Z, and measure domain pages properties.

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 xyDomainPageReadOnly, mDomainPageReadOnly, or zDomainPageReadOnly parameters are True, you cannot edit the corresponding 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)
xyDomainPageReadOnly - The xyDomainPageReadOnly (in)
mDomainPageReadOnly - The mDomainPageReadOnly (in)
zDomainPageReadOnly - The zDomainPageReadOnly (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.