VintaSoft Imaging .NET SDK 14.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);
    
    
    function set_PaletteType(
    value
    An instance of WebPaletteTypeEnumJS class. Default value is "Adaptive".
    : WebPaletteTypeEnumJS
    ) : any;

    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