Visual Basic | |
---|---|
Function PromptForSelection( _ ByVal SingleSelection As System.Boolean, _ ByVal Prompt As System.String, _ ByVal ErrorMsg As System.String _ ) As System.Boolean |
C# | |
---|---|
System.bool PromptForSelection( System.bool SingleSelection, System.string Prompt, System.string ErrorMsg ) |
JavaScript | |
---|---|
PromptForSelection( SingleSelection : Boolean, Prompt : String, ErrorMsg : String ) : Boolean |
COM native C++ | |
---|---|
HRESULT PromptForSelection( VARIANT_BOOL SingleSelection, BSTR Prompt, BSTR ErrorMsg, VARIANT_BOOL* Result ) |
C++ | |
---|---|
DSRESULT PromptForSelection( bool SingleSelection, const dsString& Prompt, const dsString& ErrorMsg, bool* Result ) |
Parameters
- SingleSelection
- True to prompt for a single selection, false to prompt for multiple selections
- Prompt
- Prompt to display in the command window
- ErrorMsg
- Error message to display in the command window when the user's input is invalid
- Result[out] or Return Value
- True if the prompt is displayed in the command window, false if not
Get Hatch and Hatch Boundary Loop Data (C#)
Get Hatch and Hatch Boundary Loop Data (VB.NET)
Get Hatch and Hatch Boundary Loop Data (VBA)
Rotate and Copy Entities (C#)
Rotate and Copy Entities (VB.NET)
Rotate and Copy Entities (VBA)
Insert Hatch (JavaScript)
Insert Hatch by Entities or Internal Points (VB.NET)
Insert Hatch by Entities or Internal Points (C#)
Insert Hatch by Entities or Internal Points (VBA)
Get Hatch and Hatch Boundary Loop Data (VB.NET)
Get Hatch and Hatch Boundary Loop Data (VBA)
Rotate and Copy Entities (C#)
Rotate and Copy Entities (VB.NET)
Rotate and Copy Entities (VBA)
Insert Hatch (JavaScript)
Insert Hatch by Entities or Internal Points (VB.NET)
Insert Hatch by Entities or Internal Points (C#)
Insert Hatch by Entities or Internal Points (VBA)
You can allow or disallow the selection of an entity by calling ISelectionManager::RemoveOptions before calling this method.
ICommandMessage Interface
ICommandMessage Members
ICommandMessage::PromptForSelectionOrKeyword Method ()
ISelectionManager::PaperSpaceSelectionEnabled Property ()
ISelectionManager::RemoveOptions Property ()
ICommandMessage Members
ICommandMessage::PromptForSelectionOrKeyword Method ()
ISelectionManager::PaperSpaceSelectionEnabled Property ()
ISelectionManager::RemoveOptions Property ()
DraftSight V1R1.1