Javascript: TXTextControl.zoomFactor Property
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.zoomFactorExamples
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);