---
title: middleFragmentsExcluded
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/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](appkit/nstextlayoutmanager/segmentoptions/headsegmentextended.md)
- [rangeNotRequired](appkit/nstextlayoutmanager/segmentoptions/rangenotrequired.md)
- [tailSegmentExtended](appkit/nstextlayoutmanager/segmentoptions/tailsegmentextended.md)
- [upstreamAffinity](appkit/nstextlayoutmanager/segmentoptions/upstreamaffinity.md)
