<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutManager/truncatedGlyphRange(inLineFragmentForGlyphAt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLayoutManager(im)truncatedGlyphRangeInLineFragmentForGlyphAtIndex:"
  },
  "title" : "truncatedGlyphRange(inLineFragmentForGlyphAt:)"
}
-->

# truncatedGlyphRange(inLineFragmentForGlyphAt:)

Returns the range of truncated glyphs for a line fragment that contains the specified index.

```
func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange
```

## Parameters

`glyphIndex`

A glyph whose line fragment is tested.

## Return Value

The range of truncated glyphs for a line fragment containing the specified glyph, or, when there is no truncation for the line fragment, `{NSNotFound, 0}`.

## Discussion

---

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)