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
SetJpegCompression method.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ColorComponentCount As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TwainJpegCompression
Dim value As Integer
instance.ColorComponentCount = value
value = instance.ColorComponentCount
|
C# | |
---|
public int ColorComponentCount {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_ColorComponentCount();
public: __property void set_ColorComponentCount(
int value
); |
C++/CLI | |
---|
public:
property int ColorComponentCount {
int get();
void set (int value);
} |
Return Value
The number of color components in the image to be compressed.
Example
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also