CadAddMText
Creates a new multiline text (MTEXT) entity and returns its handle.
YuHandle CadAddMText (
YuHandle hDwg,
const char* szText,
double RectWidth,
double X,
double Y,
double Z,
std::int32_t Align,
double RotAngle
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szText (const char*)
- NUL-terminated UTF-8 string.
- RectWidth (double)
- Numeric value (double precision).
- X (double)
- World coordinate.
- Y (double)
- World coordinate.
- Z (double)
- World coordinate.
- Align (std::int32_t)
- Integer value.
- RotAngle (double)
- Angle in radians, counter-clockwise from the +X axis (the host angle unit can be changed with
CAD_GL_ANGUNITS).
Return Value
The handle of the newly created multiline text (MTEXT) entity, or 0 on failure.