VintaSoft Twain .NET SDK v10.2
GetSupportedImageCompressions Method (Device)




Vintasoft.WpfTwain Namespace > Device Class : GetSupportedImageCompressions Method
Returns an array of image compressions supported by device in File transfer mode.
Syntax
'Declaration
 
Public Function GetSupportedImageCompressions() As TwainImageCompression()
'Usage
 
Dim instance As Device
Dim value() As TwainImageCompression
 
value = instance.GetSupportedImageCompressions()
public TwainImageCompression[] GetSupportedImageCompressions()
public: TwainImageCompression[]* GetSupportedImageCompressions(); 
public:
array<TwainImageCompression>^ GetSupportedImageCompressions(); 

Return Value

An array of compressions supported by device in File transfer mode.
Exceptions
ExceptionDescription
Thrown if device is in wrong state.
Thrown if device does not support capability.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Remarks
Call this method only when device is opened (State == DeviceState.Opened).
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

Device Class
Device Members
ImageCompression Property
Open Method