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

# setContentResizingMask(_:)

Determines how the receiver resizes its content when zooming.

## Declaration

```swift
func setContentResizingMask(_ mask: Int)
```

## Parameters

- `mask`: A resizing mask. You specify a mask by combining any of the following options using the C bitwise OR operator: doc://com.apple.documentation/documentation/AppKit/NSView/AutoresizingMask-swift.struct/width, doc://com.apple.documentation/documentation/AppKit/NSView/AutoresizingMask-swift.struct/height. Other values are ignored.

## See Also

### Zooming and Resizing

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