Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SubSampling Property
See Also 
Leadtools.Twain Namespace > TwainJpegCompression Structure : 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 Leadtools.Twain.TwainSession.SetJpegCompression method.

Syntax

Visual Basic (Declaration) 
Public Property SubSampling As Integer
Visual Basic (Usage)Copy Code
Dim instance As TwainJpegCompression
Dim value As Integer
 
instance.SubSampling = value
 
value = instance.SubSampling
C# 
public int SubSampling {get; set;}
C++/CLI 
public:
property int SubSampling {
   int get();
   void set (    int value);
}

Property Value

A subsampling value.

Example

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/.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also