Table of Contents

Method ForString

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ForString(string, string)

Asks for a text. A space ends the answer as Enter does, as AutoCAD's prompts for a name, a file name or an option word do; AllowingSpaces() makes it a prompt for a line of text, as TEXT's "Enter text:".

public static CadPrompt ForString(string message, string defaultValue = null)

Parameters

message string

The message: "Enter text".

defaultValue string

The default Enter takes; null for none.

Returns

CadPrompt

The prompt.