# TrimmingGranularity

## Content

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

***

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

# Enumeration: TrimmingGranularity

Specifies the text granularity used to trim text overflowing the layout box.

## Enumeration Members

### Character

> **Character**: `1`

Trimming occurs at a character cluster boundary.

***

### None

> **None**: `0`

No trimming occurs. Text flows beyond the layout width or height.

***

### Word

> **Word**: `2`

Trimming occurs at a word boundary.
