VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebJpeg2000EncoderSettingsJS type / set_FileSize Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_FileSize Method
In This Topic
Sets the desired size of the compressed image in bytes.
Syntax
var instance = new Vintasoft.Imaging.WebJpeg2000EncoderSettingsJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_FileSize(value);

Parameters

value
The desired size of the compressed image in bytes. Default value is 0.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Remarks

This value has effect only if get_CompressionType is set to "Lossy".

Browser Compatibility
56+
45+
11
See Also