VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebImageProcessingCommandBaseJS type / set_RestoreSourcePixelFormat Property
Syntax Exceptions BrowserCompatibility SeeAlso
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.WebImageProcessingCommandBaseJS();

var returnValue; // Type: any

// Parameters
var value; // Type: boolean

returnValue = instance.set_RestoreSourcePixelFormat(value);

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 get_CanModifyImage is false.
Browser Compatibility
56+
45+
11
See Also