VintaSoft Imaging .NET SDK v9.0 for Web
Vintasoft.Imaging.ImageProcessing Namespace / WebSetAlphaChannelValueCommandJS type / set_RestoreSourcePixelFormat Method
true - the processing command need to restore the source pixel format of processed image if source image pixel format was change during image processing; otherwise, false.
In This Topic
    set_RestoreSourcePixelFormat Method
    In This Topic
    Sets a value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebSetAlphaChannelValueCommandJS();
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  boolean
    
    returnValue = instance.set_RestoreSourcePixelFormat(value);
    function set_RestoreSourcePixelFormat( 
       value : boolean
    ) : any;

    Parameters

    value
    true - the processing command need to restore the source pixel format of processed image if source image pixel format was change during image processing; otherwise, false.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if value is true and [see="Vintasoft.Imaging.ImageProcessing.WebImageProcessingCommandBaseJS.get_CanModifyImage"] is false.
    Browser Compatibility
    9
    5
    15
    5
    See Also