---
title: "propertyForGlyph(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nslayoutmanager/propertyforglyph(at:)"
---

# propertyForGlyph(at:)

Returns the glyph property of the glyph at the specified index.

## Declaration

```swift
func propertyForGlyph(at glyphIndex: Int) -> NSLayoutManager.GlyphProperty
```

## Parameters

- `glyphIndex`: The glyph whose glyph property is returned.

## Return Value

Return Value The glyph property associated with the specified glyph. NSLayoutManager.GlyphProperty lists the values that can be returned.

## Discussion

Discussion If noncontiguous layout is not enabled, this method causes generation of all glyphs up to and including the one at glyphIndex.

## See Also

### Accessing glyphs

- [getGlyphs(in:glyphs:properties:characterIndexes:bidiLevels:)](appkit/nslayoutmanager/getglyphs(in:glyphs:properties:characterindexes:bidilevels:).md)
- [cgGlyph(at:)](appkit/nslayoutmanager/cgglyph(at:).md)
- [cgGlyph(at:isValidIndex:)](appkit/nslayoutmanager/cgglyph(at:isvalidindex:).md)
- [setGlyphs(_:properties:characterIndexes:font:forGlyphRange:)](appkit/nslayoutmanager/setglyphs(_:properties:characterindexes:font:forglyphrange:).md)
- [characterIndexForGlyph(at:)](appkit/nslayoutmanager/characterindexforglyph(at:).md)
- [glyphIndexForCharacter(at:)](appkit/nslayoutmanager/glyphindexforcharacter(at:).md)
- [isValidGlyphIndex(_:)](appkit/nslayoutmanager/isvalidglyphindex(_:).md)
- [numberOfGlyphs](appkit/nslayoutmanager/numberofglyphs.md)
- [NSLayoutManager.GlyphProperty](appkit/nslayoutmanager/glyphproperty.md)
