---
title: textRange
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avspeechsynthesismarker/textrange
---

# textRange

The location and length of the request’s text.

## Declaration

```swift
var textRange: NSRange { get set }
```

## See Also

### Inspecting a marker

- [mark](avfaudio/avspeechsynthesismarker/mark-swift.property.md)
- [bookmarkName](avfaudio/avspeechsynthesismarker/bookmarkname.md)
- [phoneme](avfaudio/avspeechsynthesismarker/phoneme.md)
- [byteSampleOffset](avfaudio/avspeechsynthesismarker/bytesampleoffset.md)
- [AVSpeechSynthesisMarker.Mark](avfaudio/avspeechsynthesismarker/mark-swift.enum.md)
