DS Server

Javascript: TXTextControl.SaveSettings.imageMaxResolution Property

Property|Introduced in 28.0

Description

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

Syntax

<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.

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