# InlineStyle Object

> The InlineStyle object defines a formatting style that can be used to format single words in a line of text.

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

---

### Description

The InlineStyle object defines a formatting style that can be used to format single words in a line of text.

### Syntax

```javascript
InlineStyle
```

### Examples

The following example demonstrates `InlineStyle` in a practical document-editing workflow. The InlineStyle object defines a formatting style that can be used to format single words in a line of text.

```javascript
function inspectInlineStyle(inlineStyle) {
    console.log("InlineStyle object:", inlineStyle);
}
```

---

## In This Section

- [Javascript: InlineStyle.Attributes Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestyle/attributes-enumeration/llms-full.txt): Determines the style's attributes.
- [Javascript: InlineStyle.isInheritedFromParagraph Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestyle/isinheritedfromparagraph-method/llms-full.txt): Informs about whether one or more of the style's attributes are inherited from the surrounding paragraph.
- [Javascript: InlineStyle.resetToParagraph Method](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestyle/resettoparagraph-method/llms-full.txt): Resets one or more of the style's attributes to its default value which is the same value as defined for the surrounding paragraph.

---

## Nearby

- **Previous:** [Javascript: ImageEventArgs.image Property](https://docs.textcontrol.com/ds-server/reference/javascript/imageeventargs/image-property/llms-full.txt)
- **Next:** [Javascript: InlineStyle.Attributes Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/inlinestyle/attributes-enumeration/llms-full.txt)
