---
title: truncationMode
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/catextlayer/truncationmode
---

# truncationMode

Determines how the text is truncated to fit within the receiver’s bounds.

## Declaration

```swift
var truncationMode: CATextLayerTruncationMode { get set }
```

## Discussion

Discussion The possible values are described in Truncation modes. Defaults to none.

## See Also

### Text Alignment and Truncation

- [isWrapped](quartzcore/catextlayer/iswrapped.md)
- [alignmentMode](quartzcore/catextlayer/alignmentmode.md)
