Table of Contents

Method ForPoint

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ForPoint(string, GeoPoint2?, IReadOnlyList<string>, string, bool)

Asks for a point.

public static CadPrompt ForPoint(string message, GeoPoint2? basePoint = null, IReadOnlyList<string> keywords = null, string defaultValue = null, bool acceptsText = false)

Parameters

message string

The message: "Specify base point".

basePoint GeoPoint2?

The point a rubber band is drawn from; null for none.

keywords IReadOnlyList<string>

The keywords offered; null for none.

defaultValue string

The default Enter takes; null for none.

acceptsText bool

Whether text that is neither a point nor a keyword is taken as an answer of text, as ZOOM takes 2X.

Returns

CadPrompt

The prompt.