Zooms the contents of the TextControl.

Introduced: X14.


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


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


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


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.