Visual Basic (Declaration) | |
---|---|
Public Property ColorScheme As TwainColorScheme |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As TwainJpegCompression Dim value As TwainColorScheme instance.ColorScheme = value value = instance.ColorScheme |
C# | |
---|---|
public TwainColorScheme ColorScheme {get; set;} |
C++/CLI | |
---|---|
public: property TwainColorScheme ColorScheme { TwainColorScheme get(); void set ( TwainColorScheme value); } |
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 TwainSession.GetJpegCompression method. To set the JPEG Compression options, set this property and the other TwainJpegCompression properties and call the Leadtools.Twain.TwainSession.SetJpegCompression method.Refer to TwainSession.GetJpegCompression example.
For more information, refer to Using JPEG Compression For A TWAIN Source. For more information about TW_JPEGCOMPRESSION, refer to the TWAIN 2.0 specification from the site http://www.twain.org/.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7