VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebTiffEncoderSettingsJS type / set_SaveAsGrayscale Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
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);

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
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also