TX Text Control .NET Server

Javascript: TXTextControl.SpecialZoomFactor Enumeration

Enumeration|Introduced in 25.0

Description

Determines the special zoom factor values for property TXTextControl.zoomFactor.

Members

MemberDescription
PageWidthThe zoom factor is calculated so that the complete width of a page becomes visible.
WholePageThe zoom factor is calculated so that the current visible page becomes completely visible.
TextWidthThe 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);