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.

Syntax

C++

HRESULT get_Compressions(
  ScanColorModeEnum ColorMode,
  int*              Result
);
    

C#

int get_Compressions( ScanColorModeEnum ColorMode );
    

Visual Basic .NET

Property Compressions(ColorMode As ScanColorModeEnum) As Int
    

Parameters

ColorMode
[in] A variable of ScanColorModeEnum type that describes the color type for which you wish to get the possible compressions.
Result
[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 FineReader Engine functions.

See also

ScanSourceCapabilities

Working with Properties

24.03.2023 8:51:52

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.