VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebDropShadowCommandJS type / set_LightDirection Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_LightDirection Method
    In This Topic
    Sets the direction of the light source.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebDropShadowCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_LightDirection(value);
    
    
    function set_LightDirection(
    value
    Direction of the light source. Valid values are from 0 to 360. Default value is 45.
    : number
    ) : any;

    Parameters

    value
    Direction of the light source. Valid values are from 0 to 360. Default value is 45.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also