# Javascript: TXTextControl.SaveSettings.imageMaxResolution Property

> Sets the maximum resolution for all images in the document in dots per inch when the document is saved.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.SaveSettings.imageMaxResolution Property
- **193 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/imagemaxresolution-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/imagemaxresolution-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/imagemaxresolution-property/llms-full.txt

---

### Description

Sets the maximum resolution for all images in the document in dots per inch when the document is saved.

### Syntax

```javascript
<number> TXTextControl.SaveSettings.imageMaxResolution
```

### Examples

The following example demonstrates `TXTextControl.SaveSettings.imageMaxResolution` in a practical document-editing workflow. It sets the maximum resolution for all images in the document in dots per inch when the document is saved.

```javascript
function inspectImageMaxResolution(saveSettings) {
    const imageMaxResolution = saveSettings.imageMaxResolution;
    console.log("image max resolution:", imageMaxResolution);
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.SaveSettings.imageExportFilterIndex Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/imageexportfilterindex-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.SaveSettings.lastModificationDate Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/lastmodificationdate-property/llms-full.txt)
