# InlineStyleCollection Object

> Contains all formatting styles in a Text Control document or part of the document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > InlineStyleCollection Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/#members)

---

## In This Section

- [Javascript: InlineStyleCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/add-method/llms.txt): Adds a new style to the current document.
- [Javascript: InlineStyleCollection.getItem Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/getitem-method/llms.txt): Gets a style from the collection by the style's name.

---

## Nearby

- **Previous:** [Javascript: InlineStyle.resetToParagraph Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestyle/resettoparagraph-method/llms.txt)
- **Next:** [Javascript: InlineStyleCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestylecollection/add-method/llms.txt)
