---
title: "CGPDFScannerGetContentStream(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgpdfscannergetcontentstream(_:)"
---

# CGPDFScannerGetContentStream(_:)

Returns the content stream associated with a PDF scanner object.

## Declaration

```swift
func CGPDFScannerGetContentStream(_ scanner: CGPDFScannerRef) -> CGPDFContentStreamRef
```

## Parameters

- `scanner`: The scanner object whose content stream you want to obtain.

## Return Value

Return Value The content stream associated with scanner.

## See Also

### Parsing Content

- [CGPDFScannerScan(_:)](coregraphics/cgpdfscannerscan(_:).md)
