# How to delete a text style?

 1. [FAQ](/faq)
2. »
3. [Text and Font Questions](/faq/text-and-font-questions)

A text style can be deleted using:

```
styleId.safeOpenObject(OdDb::kForWrite)->erase(true);
```

Note: "Standard" and current text styles cannot be deleted.
