---
title: "scroll(to:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimageview/scroll(to:)-535q6"
---

# scroll(to:)

Scrolls the view so that it includes the provided rectangular area.

## Declaration

```swift
func scroll(to rect: NSRect)
```

## Parameters

- `rect`: The rectangular area to include in the view.

## See Also

### Scrolling

- [scroll(to:)](quartz/ikimageview/scroll(to:)-myqk.md)
