setSize(int width, int height)

Sets the width and height of the viewer in pixels to the values that are applied in the method.

Sample syntax

ViewONE.setSize(1000, 800);