This document is archived and information here might be outdated.  Recommended version.


ISpatialReferenceDialog2.DoModalEdit Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (CatalogUI)  

ISpatialReferenceDialog2.DoModalEdit Method

Displays/edits the properties of the given spatial reference.

[Visual Basic .NET]
Public Function DoModalEdit ( _
    ByVal inputSpatialReference As ISpatialReference, _
    ByVal hasXY As Boolean, _
    ByVal hasZ As Boolean, _
    ByVal hasM As Boolean, _
    ByVal coordPageReadOnly As Boolean, _
    ByVal xyDomainPageReadOnly As Boolean, _
    ByVal mDomainPageReadOnly As Boolean, _
    ByVal zDomainPageReadOnly As Boolean, _
    ByVal hParent As Integer _
) As ISpatialReference
[C#]
public ISpatialReference DoModalEdit (
    ISpatialReference inputSpatialReference,
    bool hasXY,
    bool hasZ,
    bool hasM,
    bool coordPageReadOnly,
    bool xyDomainPageReadOnly,
    bool mDomainPageReadOnly,
    bool zDomainPageReadOnly,
    int hParent
);

Product Availability

Available with ArcGIS Desktop.

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.

See Also

ISpatialReferenceDialog2 Interface