Constructor CadInPlaceEdit
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadInPlaceEdit(CadInPlaceKind, string, string, GeoPoint2, double, double, double, string, int)
Makes the description of a text edited in place.
public CadInPlaceEdit(CadInPlaceKind kind, string handle, string value, GeoPoint2 location, double height, double rotation, double width, string styleName, int attachment)
Parameters
kindCadInPlaceKindWhat it is.
handlestringThe handle of the entity edited; null for an MTEXT being made by MTEXT.
valuestringThe words as written: a TEXT's value, an MTEXT's words with their codes.
locationGeoPoint2Where the text stands: a TEXT's insertion point, an MTEXT's attachment point.
heightdoubleThe height of its letters.
rotationdoubleThe angle of its baseline in radians.
widthdoubleThe width of an MTEXT's box; nought for none or a TEXT.
styleNamestringThe text style.
attachmentintHow an MTEXT is attached at its location, 1 top left to 9 bottom right; 1 for a TEXT.
Exceptions
- ArgumentNullException
Thrown when the value is null.