function Leadtools.Controls.ImageViewer.scaleToGray()
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!
This method uses interpolation to display a black and white images using shades of gray when the image is resized. This improves the viewability when the image is scaled down.
This method should be used only for black and white images.
This method will update the current viewable portion of the image only. Subsequent transformation changes or render operations will cancel the scale to gray effect.