Javascript: TXTextControl.SaveSettings.imageMaxResolution Property
Description
Sets the maximum resolution for all images in the document in dots per inch when the document is saved.
Syntax
<number> TXTextControl.SaveSettings.imageMaxResolutionExamples
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);
}