---
title: "setImageZoomFactor(_:center:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimageview/setimagezoomfactor(_:center:)"
---

# setImageZoomFactor(_:center:)

Sets the zoom factor at the provided origin.

## Declaration

```swift
func setImageZoomFactor(_ zoomFactor: CGFloat, center centerPoint: NSPoint)
```

## Parameters

- `zoomFactor`: The zoom factor to apply to the image.
- `centerPoint`: The point that specifies the origin of the zoom factor.

## See Also

### Related Documentation

- [zoomFactor](quartz/ikimageview/zoomfactor.md)

### Manipulating the Image in a View

- [setRotationAngle(_:center:)](quartz/ikimageview/setrotationangle(_:center:).md)
- [zoomImageToFit(_:)](quartz/ikimageview/zoomimagetofit(_:).md)
- [zoomImageToActualSize(_:)](quartz/ikimageview/zoomimagetoactualsize(_:).md)
- [zoomImage(to:)](quartz/ikimageview/zoomimage(to:).md)
- [zoomIn(_:)](quartz/ikimageview/zoomin(_:).md)
- [zoomOut(_:)](quartz/ikimageview/zoomout(_:).md)
- [crop(_:)](quartz/ikimageview/crop(_:).md)
- [flipImageHorizontal(_:)](quartz/ikimageview/flipimagehorizontal(_:).md)
- [flipImageVertical(_:)](quartz/ikimageview/flipimagevertical(_:).md)
- [rotateImageLeft(_:)](quartz/ikimageview/rotateimageleft(_:).md)
- [rotateImageRight(_:)](quartz/ikimageview/rotateimageright(_:).md)
