VintaSoft Imaging .NET SDK v8.8 for Web
Vintasoft.Imaging.ImageProcessing Namespace / WebChangePixelFormatToBlackWhiteCommandJS type / set_LuminanceComputationMode Method
An instance of WebLuminanceComputationModeEnumJS class. Default value is "Sum".
In This Topic
    set_LuminanceComputationMode Method
    In This Topic
    Sets the luminance computation mode.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebChangePixelFormatToBlackWhiteCommandJS();
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  object
    
    returnValue = instance.set_LuminanceComputationMode(value);
    function set_LuminanceComputationMode( 
       value : object
    ) : any;

    Parameters

    value
    An instance of WebLuminanceComputationModeEnumJS class. Default value is "Sum".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    15
    5
    See Also