set_SaveAsGrayscale Method
In This Topic
Sets a value indicating whether color images will be saved as grayscale JPEG files when JPEG compression is used.
Syntax
var instance = new Vintasoft.Imaging.WebTiffEncoderSettingsJS();
var returnValue; // Type: any
// Parameters
var value; // Type: boolean
returnValue = instance.set_SaveAsGrayscale(value);
function set_SaveAsGrayscale(
: boolean
) : any;
Parameters
- value
- True - color images will be saved as grayscale JPEG files; false color images will be saved as color JPEG files. Default value is false.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also