getXResolution()

Returns the X resolution of the current page. If no document is loaded, this method returns -1.

Sample syntax

var xRes = ViewONE.getXResolution();