Compressions Property of the ScanSourceCapabilities Object

The ScanSourceCapabilities object provides access to possible settings of scanning source, but available modes of compression depend on the chosen color mode.

This property describes possible compression modes for the specified color mode in terms of combination of ScanCompressionTypeEnum flags. This property is read-only.


Visual Basic .NET

Property Compressions(PictureMode As ScanPictureModeEnum) As Integer


HRESULT get_Compressions(
  ScanPictureModeEnum PictureMode,
  int*                Result


[in] A variable of ScanPictureModeEnum type that describes the color type for which you wish to get the possible compressions.
[out, retval] Returns the possible compression modes as a bitwise OR of ScanCompressionTypeEnum constants.

Return values

This function has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also


Working with Properties

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.