<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutManager/extraLineFragmentRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLayoutManager(py)extraLineFragmentRect"
  },
  "title" : "extraLineFragmentRect"
}
-->

# extraLineFragmentRect

The rectangle for the extra line fragment at the end of a document.

```
var extraLineFragmentRect: NSRect { get }
```

## Discussion

The layout manager uses the extra line fragment when the last character in a document causes a line or paragraph break. This extra line fragment has no corresponding glyph.

The rectangle is defined in the coordinate system of its `NSTextContainer`. `NSZeroRect` if there is no such rectangle.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)