VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebJpeg2000EncoderSettingsJS type / set_CompressionType Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_CompressionType Method
    In This Topic
    Sets the compression type, determining whether compression will be lossy or lossless.
    Syntax
    var instance = new Vintasoft.Imaging.WebJpeg2000EncoderSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: WebJpeg2000CompressionTypeEnumJS
    
    returnValue = instance.set_CompressionType(value);
    
    
    function set_CompressionType(
    value
    An instance of WebJpeg2000CompressionTypeEnumJS class that defines the compression type.
    : WebJpeg2000CompressionTypeEnumJS
    ) : any;

    Parameters

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