VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebChangePixelFormatToPaletteCommandJS type / set_PaletteType Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_PaletteType Method
In This Topic
Sets a destination palette type.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebChangePixelFormatToPaletteCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: WebPaletteTypeEnumJS

returnValue = instance.set_PaletteType(value);

Parameters

value
An instance of WebPaletteTypeEnumJS class. Default value is "Adaptive".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also