VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebPngEncoderSettingsJS type / set_FilterMethod Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_FilterMethod Method
    In This Topic
    Sets the preprocessing method applied to the image data before compression.
    Syntax
    var instance = new Vintasoft.Imaging.WebPngEncoderSettingsJS(filterMethod, compressionLevel);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: WebPngFilterMethodEnumJS
    
    returnValue = instance.set_FilterMethod(value);
    
    
    function set_FilterMethod(
    value
    An instance of WebPngFilterMethodEnumJS class that defines the preprocessing method.
    : WebPngFilterMethodEnumJS
    ) : any;

    Parameters

    value
    An instance of WebPngFilterMethodEnumJS class that defines the preprocessing method.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also