VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebPdfEncoderSettingsJS type / set_Compression Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Compression Method
    In This Topic
    Sets compression algorithm which will be used at saving image to the PDF document.
    Syntax
    var instance = new Vintasoft.Imaging.WebPdfEncoderSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: WebPdfImageCompressionEnumJS
    
    returnValue = instance.set_Compression(value);
    
    
    function set_Compression(
    value
    An instance of WebPdfImageCompressionEnumJS class that defines the compression algorithm.
    : WebPdfImageCompressionEnumJS
    ) : any;

    Parameters

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