setZoom()

Sets a zoom level to the specified value.

The zoom parameter is specified as a double value. For example, 1.0 equals 100%, in which case 1 image pixel equals one screen pixel. 2.0 equals 200%, in which case 1 image pixel equals two screen pixels.

Sample syntax

ViewONE.setZoom(2.0);