> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/resamplermode.md).

# ResamplerMode

## Overview

ResamplerMode is an Enum that defines the interpolation method used when an image is displayed at a size different from the original.

It is used in the ResampleMode property of ImageLabel and ImageButton, and determines how the pixels of an enlarged or reduced image are represented.

## Items

| Name      | Value | Description                                                |
| --------- | ----- | ---------------------------------------------------------- |
| Default   | 0     | Smoothly interpolates between pixels. This is the default. |
| Pixelated | 1     | Keeps pixel boundaries as they are without interpolation.  |

## See also

{% content-ref url="/pages/eHrtmMKd8kWc51tijR5V" %}
[ImageLabel](https://docs.overdare.com/development/api-reference/classes/imagelabel.md)
{% endcontent-ref %}

{% content-ref url="/pages/icUeAgDbD5Ij8LArLj7n" %}
[ImageButton](https://docs.overdare.com/development/api-reference/classes/imagebutton.md)
{% endcontent-ref %}
