Unicode Controls & Classes for VB6 - Version 4

ctlUniTextCodeHighlight.SetZoom Function

Sets the current Zoom, works starting from RichEdit 3.0
check the [ZoomFactor] property for a simpler way

Syntax
Public Function SetZoom (Optional ByVal numerator As Long = 0, _
Optional ByVal denominator As Long = 0) As Boolean
Parameters
Parameter Description
Optional ByVal numerator As Long = 0 Numerator
Optional ByVal denominator As Long = 0 Denominator
Remarks
0/0 resets the Zoom, from 1/64 to 64/1 for the zoom