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.WebImageProcessingCommandBaseJS();
var returnValue; // Type: any
// Parameters
var value; // Type: boolean
returnValue = instance.set_RestoreSourcePixelFormat(value);
function set_RestoreSourcePixelFormat(
: 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
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if value is true and get_CanModifyImage is false. |
Browser Compatibility
See Also