ArcObjects Library Reference (Framework)  

ICoordinateDialog.DoModal Method

Shows the dialog.

[Visual Basic .NET]
Public Function DoModal ( _
    ByVal Title As String, _
    ByVal initialX As Double, _
    ByVal initialY As Double, _
    ByVal numDecs As Integer, _
    ByVal hWnd As Integer _
) As Boolean
[C#]
public bool DoModal (
    string Title,
    double initialX,
    double initialY,
    int numDecs,
    int hWnd
);

Product Availability

Available with ArcGIS Desktop.

Description

 

Title is a string that specifies the title of the dialog.

initialX specifies the intial value of X to be displayed in the dialog.

initialY specifies the intial value of Y to be displayed in the dialog.

numDecs specifies the number of decimal places to be used for the values.

hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.

 

Remarks

If non-numeric values were entered or if the dialog was cancelled, the DoModal method returns False.

See Also

ICoordinateDialog Interface