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


ISpatialReferenceDialog.DoModalCreate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IS > ISpatialReferenceDialog Interface > ISpatialReferenceDialog.DoModalCreate Method
ArcGIS Developer Help

ISpatialReferenceDialog.DoModalCreate Method

Prompts the user to define a new spatial reference.

[Visual Basic .NET]
Public Function DoModalCreate ( _
    ByVal hasXY As Boolean, _
    ByVal hasZ As Boolean, _
    ByVal hasM As Boolean, _
    ByVal hParent As Integer _
) As ISpatialReference
[C#]
public ISpatialReference DoModalCreate (
    bool hasXY,
    bool hasZ,
    bool hasM,
    int hParent
);

Product Availability

Available with ArcGIS Desktop.

Remarks

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

See Also

ISpatialReferenceDialog Interface