TX Text Control ActiveX

Zoom Method

Method

Zooms the contents of the TextControl using the specified option.

Introduced: 24.0.

Syntax

TXTextControl.Zoom ZoomOption

Parameters

ParameterDescription
ZoomOptionThis parameter specifies how to zoom the document. Possible values are the following:

ZoomOption

ConstantDescription
txWholePage (1)The zoom factor is calculated so that the current visible page becomes completely visible.
txPageWidth (2)The zoom factor is calculated so that the complete width of a page becomes visible.
txTextWidth (3)The zoom factor is calculated so that the complete text of a line becomes visible.

Return Value

The method returns True, if the zoom factor has been changed. Otherwise, the method returns False.

Data Types

NameData type
ZoomOptionInteger
Return valueBoolean

See Also