VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging Namespace / WebTgaEncoderSettingsJS type / set_Compression Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_Compression Method
In This Topic
Sets the compression of TGA file.
Syntax
var instance = new Vintasoft.Imaging.WebTgaEncoderSettingsJS();

var returnValue; // Type: any

// Parameters
var value; // Type: WebTgaCompressionEnumJS

returnValue = instance.set_Compression(value);

Parameters

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