[Documentation](../../README.md) > [GoogleImage](README.md) > **setWidthAndHeight**

# Nelexa\GPlay\Model\GoogleImage::setWidthAndHeight
`Nelexa\GPlay\Model\GoogleImage::setWidthAndHeight` — Sets the width and height of the image.

## Description
```php
Nelexa\GPlay\Model\GoogleImage::setWidthAndHeight ( int $width , int $height ) : Nelexa\GPlay\Model\GoogleImage
```

## Parameters
* **$width** (int)  
image width
* **$height** (int)  
image height

## Return Values
returns the same object \Nelexa\GPlay\Model\GoogleImage to support the call chain

[Documentation](../../README.md) > [GoogleImage](README.md) > **setWidthAndHeight**
