---
title: "Interface: IZoomConfig | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IZoomConfig/"
---

# Interface: IZoomConfig

> A structure containing text zoom configuration of the Rich text editor.

## Remarks

You can use these settings in [IRichTextDialogConfig](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRichTextDialogConfig.md).

## Example

``` json
"RichTextDialog": {
   "zoom": {
       // Enables the zoom slider in the Rich text editor.
       "enabled": true,
       "minZoomPct": 10,
       "maxZoomPct": 500,
       "autoZoom": {
           // Enables auto-zoom at opening the text editor.
           "enabled": true,
           // Auto-zooms the text in if the text font size is less than this threshold.
           "minFontSizeThresholdPt": 12,
           // Auto-zooms the text out if the text font size is more than this threshold.
           "maxFontSizeThresholdPt": 36
       }
   }
}
```

## Properties

### enabled?

> `optional` **enabled?**: `boolean`

Enables a slider to show the zoom level. The default value is `false`.

***

### minZoomPct?

> `optional` **minZoomPct?**: `number`

Zoom percentage. The least value of the zoom slider, must be less than 100. The default value is `10`.

***

### maxZoomPct?

> `optional` **maxZoomPct?**: `number`

Zoom percentage. The most value of the zoom slider, must be more than 100. The default value is `500`.

***

### autoZoom?

> `optional` **autoZoom?**: [`IAutoZoomConfig`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IAutoZoomConfig.md)

Auto-zoom configuration of the Rich text editor.
