# ImageScaleMode

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / ImageScaleMode

# Enumeration: ImageScaleMode

Specifies the circumstances under which the image should be scaled inside the button rectangle.

## Enumeration Members

### Always

> **Always**: `0`

Always scale.

***

### Bigger

> **Bigger**: `1`

Scale only when the image is bigger than the button rectangle.

***

### Never

> **Never**: `3`

Never scale.

***

### Smaller

> **Smaller**: `2`

Scale only when the image is smaller than the button rectangle.
