---
title: middleFragmentsExcluded
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/nstextlayoutmanager/segmentoptions/middlefragmentsexcluded
---

# middleFragmentsExcluded

Returns the value that causes the framework to enumerate segments in only the first and last line fragments.

## Declaration

```swift
static var middleFragmentsExcluded: NSTextLayoutManager.SegmentOptions { get }
```

## See Also

### Getting segment options

- [headSegmentExtended](uikit/nstextlayoutmanager/segmentoptions/headsegmentextended.md)
- [rangeNotRequired](uikit/nstextlayoutmanager/segmentoptions/rangenotrequired.md)
- [tailSegmentExtended](uikit/nstextlayoutmanager/segmentoptions/tailsegmentextended.md)
- [upstreamAffinity](uikit/nstextlayoutmanager/segmentoptions/upstreamaffinity.md)
