Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
SetQuantizationMap Method
See Also 
Leadtools.Twain Namespace > TwainJpegCompression Structure : SetQuantizationMap Method




map
Arry of values to be set in the specified map quantization table
Sets mapping of components to quantization tables.

Syntax

Visual Basic (Declaration) 
Public Sub SetQuantizationMap( _
   ByVal map() As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As TwainJpegCompression
Dim map() As Integer
 
instance.SetQuantizationMap(map)
C# 
public void SetQuantizationMap( 
   int[] map
)
Managed Extensions for C++ 
public: void SetQuantizationMap( 
   int[] map
) 
C++/CLI 
public:
void SetQuantizationMap( 
   array<int> map
) 

Parameters

map
Arry of values to be set in the specified map quantization table

Example

Refer to SetJpegCompression example.

Remarks

For more information, refer to Using JPEG Compression For A TWAIN Source. For more information about TW_JPEGCOMPRESSION, refer to the TWAIN 1.9 specification from the site http://www.twain.org/.

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