# DeleteTextCel

Deletes a text cel and associated resources.

### Synopsis

`void DeleteTextCel (TextCel *tCel)`

### Description

Deletes the specified text cel and all resources it acquired internally when it was created. If `SetTextCelFormatBuffer()`dynamically allocates a format buffer for the cel, that buffer is also released.

Text cels are also compatible with the Lib3DO `DeleteCel()` and `DeleteCelList()` functions. Those functions require a pointer to a CCB. When they receive a pointer to a CCB associated with a text cel, processing is automatically handed off to `DeleteTextCel()` internally.

### Arguments

tCel
  Pointer to a TextCel structure (okay to pass NULL).

### Associated Files

lib3do.lib, textlib.h

### See Also

`CloneTextCel`, CreateTextCel