<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKImageBrowserView/setZoomValue(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)IKImageBrowserView(im)setZoomValue:"
  },
  "title" : "setZoomValue(_:)"
}
-->

# setZoomValue(_:)

Sets the zoom value.

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

You must use `setZoomValue` or [`setCellSize(_:)`](/documentation/Quartz/IKImageBrowserView/setCellSize(_:)), but not both. Setting the zoom value changes the cell size, and vice versa.

## See Also

[`func setCellSize(NSSize)`](/documentation/Quartz/IKImageBrowserView/setCellSize(_:))

Sets the cell  size.



---

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)