yucad3d

CadTextGetText

MaxChars is the caller buffer size in bytes (Vecad ABI — CadApi.pas declares `CadTextGetText(hEnt, szText, MaxChars: Integer)`).

void CadTextGetText ( YuHandle hEnt, void* szText, std::int32_t MaxChars );

Parameters

hEnt (YuHandle)
Handle to the entity.
szText (void*)
NUL-terminated UTF-8 string.
MaxChars (std::int32_t)
Capacity of the caller-supplied array(s).

Return Value

None.

Remarks

Earlier yucad dropped it, which both overflowed the caller on long text AND unbalanced the stdcall stack against a 3-arg caller. Restored + clamped.

See Also