Zooms the contents of the TextControl.

Introduced: X14.

Zoom(Int)

public void Zoom(int zoomFactor);
Public Sub Zoom(ByVal zoomFactor As Integer)

Zoom(ZoomOption)

public void Zoom(ZoomOption zoomOption);
Public Sub Zoom(ByVal zoomOption As ZoomOption)

Parameters

Parameter Description
zoomFactor Specifies the zoom factor, in percent.
zoomOption Specifies one of the ZoomOption values.

Limitations

The zoom factor must be between 10 and ushort.MaxValue percent, when the TextControl.ViewMode property has been set to PageView or Normal. For the other modes the zoom factor must be between 10 and 400 percent.