# documentAttributeImageSize

> Defines the width and height of an image uploaded as document

[Back to constructors index](/API_docs/constructors/index.html)



Defines the width and height of an image uploaded as document

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|w|[int](/API_docs/types/int.html) | Optional|Width of image|
|h|[int](/API_docs/types/int.html) | Optional|Height of image|



### Type: [DocumentAttribute](/API_docs/types/DocumentAttribute.html)


### Example:

```
$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int];
```
