# WrapMode

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / WrapMode

# Enumeration: WrapMode

Specifies how text lines are broken to avoid text overflowing the layout box.

## Enumeration Members

### CharWrap

> **CharWrap**: `1`

Text lines can be broken at the grapheme cluster boundaries (see Unicode Standard Annex #29).

***

### NoWrap

> **NoWrap**: `2`

Text lines can not be broken.

***

### WordWrap

> **WordWrap**: `0`

Text lines are broken in accordance with the Unicode line breaking algorithm (see Unicode Standard Annex #14).
