Gets or sets the number of color components in the image to be compressed. This property is updated by calling the GetJpegCompression method. To set the JPEG Compression options, set this property and the other TwainJpegCompression properties and call the
TwainSession.SetJpegCompression method.
public int ColorComponentCount {get; set;}
public int ColorComponentCount {get; set;}
get_ColorComponentCount();
set_ColorComponentCount(value);
public:
property int ColorComponentCount {
int get();
void set ( int value);
}
'Declaration
Public Property ColorComponentCount As Integer
'Usage
Dim instance As TwainJpegCompression
Dim value As Integer
instance.ColorComponentCount = value
value = instance.ColorComponentCount
Property Value
The number of color components in the image to be compressed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2