Javascript: TXTextControl.SpecialZoomFactor Enumeration
Description
Determines the special zoom factor values for property TXTextControl.zoomFactor.
Members
| Member | Description |
|---|---|
| PageWidth | The zoom factor is calculated so that the complete width of a page becomes visible. |
| WholePage | The zoom factor is calculated so that the current visible page becomes completely visible. |
| TextWidth | The zoom factor is calculated so that the complete text of a line becomes visible. |
Examples
The following example uses TXTextControl.SpecialZoomFactor.PageWidth (the zoom factor is calculated so that the complete width of a page becomes visible.) in a document-editing workflow.
const value = TXTextControl.SpecialZoomFactor.PageWidth;
console.log("The zoom factor is calculated so that the complete width of a page becomes visible.", value);