Click or drag to resize

Device.Compression Property

Gets or sets the compression used during a file or memory transfer.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public CompressionMode Compression { get; set; }

Property Value

Type: CompressionMode
The compression used during a transfer.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Remarks

You can use the GetSupportedCompressionModes() method to find out which compressions are supported by the device. Some devices require the TransferMethod be set to File, File2 or Memory before setting this property.

See Also