---
title: "CTFrameGetLines(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctframegetlines(_:)"
---

# CTFrameGetLines(_:)

Returns an array of lines stored in the frame.

## Declaration

```swift
func CTFrameGetLines(_ frame: CTFrame) -> CFArray
```

## Parameters

- `frame`: The frame whose line array is returned.

## Return Value

Return Value A CFArray object containing the CTLine objects that make up the frame, or, if there are no lines in the frame, an array with no elements.

## See Also

### Getting Lines

- [CTFrameGetLineOrigins(_:_:_:)](coretext/ctframegetlineorigins(_:_:_:).md)
