<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextLayoutSectionRange",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSTextLayoutSectionRange"
  },
  "title" : "NSTextLayoutSectionRange"
}
-->

# NSTextLayoutSectionRange

The character range.

```
extern NSTextLayoutSectionKey NSTextLayoutSectionRange;
```

## Discussion

An <doc://com.apple.documentation/documentation/Foundation/NSValue> object containing an <doc://com.apple.documentation/documentation/Foundation/NSRange-c.struct> representing a character range. The default value is a range covering the entire string.

---

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)