---
title: "setParagraphGlyphRange(_:separatorGlyphRange:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsatstypesetter/setparagraphglyphrange(_:separatorglyphrange:)"
---

# setParagraphGlyphRange(_:separatorGlyphRange:)

Sets the glyph range being processed and the paragraph separator glyph range (the range of the paragraph separator character or characters).

## Declaration

```swift
func setParagraphGlyphRange(_ paragraphRange: NSRange, separatorGlyphRange paragraphSeparatorRange: NSRange)
```

## Parameters

- `paragraphRange`: The glyph range that becomes current.
- `paragraphSeparatorRange`: The paragraph separator glyph range that becomes current.

## See Also

### Accessing paragraph information

- [attributedString](appkit/nsatstypesetter/attributedstring.md)
- [paragraphGlyphRange](appkit/nsatstypesetter/paragraphglyphrange.md)
- [paragraphSeparatorGlyphRange](appkit/nsatstypesetter/paragraphseparatorglyphrange.md)
