# Javascript: TextPastedEventArgs.textType Property

> The MIME type of the text.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TextPastedEventArgs.textType Property
- **151 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textpastedeventargs/texttype-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textpastedeventargs/texttype-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textpastedeventargs/texttype-property/llms-full.txt

---

### Description

The MIME type of the text.

### Syntax

```javascript
<string> TextPastedEventArgs.textType
```

### Examples

The following example demonstrates `TextPastedEventArgs.textType` in a practical document-editing workflow. The MIME type of the text.

```javascript
function inspectTextType(textPastedEventArgs) {
    const textType = textPastedEventArgs.textType;
    console.log("text type:", textType);
}
```

---

## Nearby

- **Previous:** [Javascript: TextPastedEventArgs.text Property](https://docs.textcontrol.com/ds-server/reference/javascript/textpastedeventargs/text-property/llms-full.txt)
- **Next:** [TextViewGeneratorColors Object](https://docs.textcontrol.com/ds-server/reference/javascript/textviewgeneratorcolors/llms-full.txt)
