ColorScheme Property

Summary
Gets or sets color space values.
Syntax
C#
VB
C++
public TwainColorScheme ColorScheme { get; set; } 
Public Property ColorScheme As TwainColorScheme 
public: 
property TwainColorScheme ColorScheme { 
   TwainColorScheme get(); 
   void set (    TwainColorScheme ); 
} 

Property Value

Gets or sets a value that indicates the color space in which the compressed components are stored. Only spaces supported by the source for TwainCapabilityType.ImageJpegPixelType are valid. 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.

Remarks

For more information, refer to Using JPEG Compression For A TWAIN Source. For more information about TW_JPEGCOMPRESSION, refer to the TWAIN specification.

Example

Refer to GetJpegCompression example.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.