Click or drag to resize

DeviceCompression 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.4.0.9.0.377 (.NET 4.5.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