Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

SubSampling Property






Gets or sets a subsampling value. 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.
Syntax
public int SubSampling {get; set;}
'Declaration
 
Public Property SubSampling As Integer
'Usage
 
Dim instance As TwainJpegCompression
Dim value As Integer
 
instance.SubSampling = value
 
value = instance.SubSampling
public int SubSampling {get; set;}
 get_SubSampling();
set_SubSampling(value);
public:
property int SubSampling {
   int get();
   void set (    int value);
}

Property Value

A subsampling value.
Remarks
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/.
Example
Refer to TwainSession.SetJpegCompression example.
Requirements

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

See Also

Reference

TwainJpegCompression Structure
TwainJpegCompression Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.