# GC.Spread.Sheets.ImageLayout

## Content

# Enumeration: ImageLayout

[Spread](../modules/GC.Spread).[Sheets](../modules/GC.Spread.Sheets).ImageLayout

Defines the background image layout.

**`example`**
```
var rowImage = "./css/images/quarter1.png";
sheet.getCell(1, -1).backgroundImage(rowImage);
sheet.getCell(1, -1).backgroundImageLayout(GC.Spread.Sheets.ImageLayout.center);
```

## Table of contents

### Enumeration members

- [center](GC.Spread.Sheets.ImageLayout#center)
- [none](GC.Spread.Sheets.ImageLayout#none)
- [stretch](GC.Spread.Sheets.ImageLayout#stretch)
- [zoom](GC.Spread.Sheets.ImageLayout#zoom)

## Enumeration members

### <a id="center" name="center"></a> center

• **center** = `1`

Specifies that the background image displays in the center of the area.

___

### <a id="none" name="none"></a> none

• **none** = `3`

Specifies that the background image displays in the upper left corner of the area with its original size.

___

### <a id="stretch" name="stretch"></a> stretch

• **stretch** = `0`

Specifies that the background image fills the area.

___

### <a id="zoom" name="zoom"></a> zoom

• **zoom** = `2`

Specifies that the background image displays in the area with its original aspect ratio.
