LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

ScaleToGray Method


Interpolates the current image to improve viewability when the image is scaled down.
Syntax
 function Leadtools.Controls.ImageViewer.scaleToGray()
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!
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-2012 All Rights Reserved. LEAD Technologies, Inc.