VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebTiffEncoderSettingsJS type / set_Compression Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Compression Method
    In This Topic
    Sets the image compression algorithm.
    Syntax
    var instance = new Vintasoft.Imaging.WebTiffEncoderSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: WebTiffCompressionEnumJS
    
    returnValue = instance.set_Compression(value);
    
    
    function set_Compression(
    value
    An instance of WebTiffCompressionEnumJS class that defines the image compression algorithm.
    : WebTiffCompressionEnumJS
    ) : any;

    Parameters

    value
    An instance of WebTiffCompressionEnumJS class that defines the image compression algorithm.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if compression is not Auto, not CcittGroup4, not Jpeg, not Jpeg2000, not Lzw, not None and not Zip.
    Browser Compatibility
    56+
    45+
    11
    See Also