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


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

ISpatialReferenceDialog2.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.

See Also

ISpatialReferenceDialog2 Interface

.NET Snippets

Change Map Spatial Reference