Zoom Method
Zooms the contents of the TextControl using the specified option.
Introduced: 24.0.
Syntax
TXTextControl.Zoom ZoomOption
Parameters
| Parameter | Description |
|---|---|
| ZoomOption | This parameter specifies how to zoom the document. Possible values are the following: |
ZoomOption
| Constant | Description |
|---|---|
| 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
| Name | Data type |
|---|---|
| ZoomOption | Integer |
| Return value | Boolean |