VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfDocumentCompressorSettingsJS type / set_FlateCompressionLevel Property
Syntax BrowserCompatibility SeeAlso
In This Topic
set_FlateCompressionLevel Method
In This Topic
Sets the Flate (ZIP) compression level.
Syntax
var instance = new Vintasoft.Imaging.Pdf.WebPdfDocumentCompressorSettingsJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_FlateCompressionLevel(value);

Parameters

value
Possible values: from 0 to 9.
0 - no compression, 1 - best speed, 9 - best compression.
Default value is 9.
Browser Compatibility
56+
45+
11
See Also