---
title: pixelsWide
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlimageconstraint/pixelswide
---

# pixelsWide

The model’s default width for an image feature.

## Declaration

```swift
var pixelsWide: Int { get }
```

## See Also

### Accessing the constraints

- [pixelsHigh](coreml/mlimageconstraint/pixelshigh.md)
- [pixelFormatType](coreml/mlimageconstraint/pixelformattype.md)
