---
title: "imageOfPage(at:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/vndocumentcamerascan/imageofpage(at:)"
---

# imageOfPage(at:)

Requests the image of a page at a specified index.

## Declaration

```swift
func imageOfPage(at index: Int) -> UIImage
```

## Parameters

- `index`: The index of the image in the scanned document you’d like to return. Page 1 is at index 0.

## Return Value

Return Value The image of the page at the specified index. If index is out of bounds, the framework throws an exception.

## See Also

### Reading the scanned document

- [title](visionkit/vndocumentcamerascan/title.md)
- [pageCount](visionkit/vndocumentcamerascan/pagecount.md)
