---
title: "CGPDFContentStreamGetStreams(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgpdfcontentstreamgetstreams(_:)"
---

# CGPDFContentStreamGetStreams(_:)

Gets the array of PDF content streams contained in a PDF content stream object.

## Declaration

```swift
func CGPDFContentStreamGetStreams(_ cs: CGPDFContentStreamRef) -> CFArray?
```

## Parameters

- `cs`: A PDF content stream object.

## Return Value

Return Value The array of PDF content streams that make up the content stream object represented by the cs parameter.

## See Also

### Getting Data from a PDF Content Stream Object

- [CGPDFContentStreamGetResource(_:_:_:)](coregraphics/cgpdfcontentstreamgetresource(_:_:_:).md)
