<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/VNDocumentCameraScan/imageOfPage(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "c:objc(cs)VNDocumentCameraScan(im)imageOfPageAtIndex:"
  },
  "title" : "imageOfPage(at:)"
}
-->

# imageOfPage(at:)

Requests the image of a page at a specified index.

```
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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)