DS Server

Javascript: TXTextControl.zoomFactor Property

PropertyDeprecated|Introduced in 25.0

Description

Obsolete. This property will be removed in one of the next versions. Gets or sets the zoom factor, in percent, for a Text Control. Must be greater than or equal to 10 or one of the special zoom factor values defined in SpecialZoomFactor.

Syntax

<number> TXTextControl.zoomFactor

Examples

The following example demonstrates TXTextControl.zoomFactor in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Gets or sets the zoom factor, in percent, for a Text Control. Must be greater than or equal to 10 or one of the special zoom factor values defined in SpecialZoomFactor.

const zoomFactor = tXTextControl.zoomFactor;
console.log("zoom factor:", zoomFactor);