---
title: pageZoom
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/pagezoom
---

# pageZoom

The scale factor by which the web view scales content relative to its bounds.

## Declaration

```swift
var pageZoom: CGFloat { get set }
```

## Discussion

Discussion The default value of this property is 1.0, which displays the content without any scaling. Changing the value of this property is equivalent to setting the CSS zoom property on all page content.

## See Also

### Scaling content

- [allowsMagnification](webkit/wkwebview/allowsmagnification.md)
- [magnification](webkit/wkwebview/magnification.md)
- [setMagnification(_:centeredAt:)](webkit/wkwebview/setmagnification(_:centeredat:).md)
