---
title: "AXTextMarkerRangeCreateWithBytes(_:_:_:_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 12.0+]
path: applicationservices/3882830-axtextmarkerrangecreatewithbytes
---

# AXTextMarkerRangeCreateWithBytes(_:_:_:_:_:)

## Declaration

```swift
func AXTextMarkerRangeCreateWithBytes(_ allocator: CFAllocator?, _ startMarkerBytes: UnsafePointer<UInt8>, _ startMarkerLength: CFIndex, _ endMarkerBytes: UnsafePointer<UInt8>, _ endMarkerLength: CFIndex) -> AXTextMarkerRange
```
