LEADTOOLS JavaScript (Leadtools.Controls)

ScaleToGray Method

Show in webframe
Interpolates the current image to improve viewability when the image is scaled down.
Syntax
 function Leadtools.Controls.ImageViewer.scaleToGray()
Remarks

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.

See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.