PromptForOrientation Method (ICommandMessage)

PromptForOrientation Method (ICommandMessage) | Send Feedback
See Also

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

Prompt
  Text to display as the prompt in the command window

DefaultValue
  Default orientation value

Value[out]
  Orientation value

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

# Syntax

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

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

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

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

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

#### Parameters

Prompt
  Text to display as the prompt in the command window
DefaultValue
  Default orientation value
Value[out]
  Orientation value
Result[out] or Return Value
  True if the prompt is displayed in the command window, false if not

# See Also

####

ICommandMessage Interface
ICommandMessage Members
ICommandMessage::PromptForOrientationOrKeyword Method ()

# Availability

DraftSight V1R1.4