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
messagestringThe message: "Specify base point".
basePointGeoPoint2?The point a rubber band is drawn from; null for none.
keywordsIReadOnlyList<string>The keywords offered; null for none.
defaultValuestringThe default Enter takes; null for none.
acceptsTextboolWhether text that is neither a point nor a keyword is taken as an answer of text, as ZOOM takes 2X.
Returns
- CadPrompt
The prompt.