---
title: "setZoomValue(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimagebrowserview/setzoomvalue(_:)"
---

# setZoomValue(_:)

Sets the zoom value.

## Declaration

```swift
func setZoomValue(_ aValue: Float)
```

## Parameters

- `aValue`: The zoom value. This value should be greater or equal to zero and less or equal than one. A zoom value of zero corresponds to the minimum size (40x40 pixels). A zoom value of one means images fits the browser bounds. Other values are interpolated.

## Discussion

Discussion You must use setZoomValue or setCellSize(_:), but not both. Setting the zoom value changes the cell size, and vice versa.

## See Also

### Related Documentation

- [setCellSize(_:)](quartz/ikimagebrowserview/setcellsize(_:).md)

### Zooming and Resizing

- [zoomValue()](quartz/ikimagebrowserview/zoomvalue().md)
- [setContentResizingMask(_:)](quartz/ikimagebrowserview/setcontentresizingmask(_:).md)
- [contentResizingMask()](quartz/ikimagebrowserview/contentresizingmask().md)
