PromptForAngle Method (ICommandMessage)

PromptForAngle Method (ICommandMessage) | Send Feedback
See Also

Result[out]
  True if the prompt appears in the command window, false if not

Prompt
  Prompt message

DefaultValue
  Default value

Value[out]
  User input angle

Displays the specified prompt and default value for an angle in the command window and gets the angle input by the user.

# Syntax

Visual Basic |
--- | ---
    Function PromptForAngle( _
       ByVal Prompt As System.String, _
       ByVal DefaultValue As System.Double, _
       ByRef Value As System.Double _
    ) As System.Boolean

C# |
--- | ---
    System.bool PromptForAngle(
       System.string Prompt,
       System.double DefaultValue,
       out System.double Value
    )

JavaScript |
--- | ---
    PromptForAngle(
       Prompt : String,
       DefaultValue : Number
    ) : {
       Value : Number,
       Result : Boolean
    }

COM native C++ |
--- | ---
    HRESULT PromptForAngle(
       BSTR Prompt,
       DOUBLE DefaultValue,
       DOUBLE* Value,
       VARIANT_BOOL* Result
    )

C++ |
--- | ---
    DSRESULT PromptForAngle(
       const dsString& Prompt,
       double DefaultValue,
       double* Value,
       bool* Result
    )

#### Parameters

Prompt
  Prompt message
DefaultValue
  Default value
Value[out]
  User input angle
Result[out] or Return Value
  True if the prompt appears in the command window, false if not

# See Also

####

ICommandMessage Interface
ICommandMessage Members
ICommandMessage::PromptForAngleOrKeyword Method ()

# Availability

DraftSight V1R1.4