ViewAPI.setDisplayScale

 

long setDisplayScale(double n)

This method sets the value of the display scale denominator to n.  These causes the view to be zoomed, such that the display scale is 1:n.

This method returns zero if successful, and returns an error code if n < 1.