Returns or sets the quality of the JPEG file.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public short JPEGQuality { get; set; }
Visual Basic
Public Property JPEGQuality As Short
	Get
	Set

Remarks

The default value of JPEGQuality property is 80. The valid range is 0-100. The higher the JPEGQuality property, the better the JPEG quality and the greater the size of the file.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also