PromptForAngleOrKeyword Method (ICommandMessage)
Obsolete. Superseded by ICommandMessage::PromptForAngleOrKeyword2.
.NET Syntax
COM native C++ | |
---|
HRESULT PromptForAngleOrKeyword(
const dsString& Prompt,
,
const dsString& ErrorMsg,
,
VARIANT GlobalKeywordStrArray,
,
VARIANT LocalKeywordStrArray,
,
long PromptInit,
,
double DefaultValue,
,
dsString* Keyword,
,
double* Value
,
dsPromptResultType_e* Result
) |
C++ | |
---|
DSRESULT PromptForAngleOrKeyword(
BSTR Prompt,
,
BSTR ErrorMsg,
,
VARIANT GlobalKeywordStrArray,
,
VARIANT LocalKeywordStrArray,
,
LONG PromptInit,
,
DOUBLE DefaultValue,
,
BSTR* Keyword,
,
DOUBLE* Value
,
dsPromptResultType_e* Result
) |
Parameters
- Prompt
- Text to display as the prompt in the command window
- ErrorMsg
- Error message to display in the command window when the user input is invalid
- GlobalKeywordStrArray
- Array of global keywords, which are typically language independent (see Remarks)
- LocalKeywordStrArray
- Array of local keywords, which are typically translated to the local language (see Remarks)
- PromptInit
- Prompt initialization as defined in dsPromptInit_e
- DefaultValue
- Default double value to display in the prompt in the command window (see Remarks)
- Keyword[out]
- Keyword input by the user
- Value[out]
- Angle input by the user
Parameters
- Result[out] or Return Value
- Result as defined in dsPromptResultType_e
Remarks
See Also
Availability
DraftSight V1R4.0