Leadtools TWAIN (Leadtools.Twain assembly)

RestartFrequency Property

Show in webframe





Gets or sets the number of minimum data units between restart markers. The default value is 0, indicating that no restart markers are used. 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 RestartFrequency {get; set;}
'Declaration
 
Public Property RestartFrequency As Integer
'Usage
 
Dim instance As TwainJpegCompression
Dim value As Integer
 
instance.RestartFrequency = value
 
value = instance.RestartFrequency

            

            
public:
property int RestartFrequency {
   int get();
   void set (    int value);
}

Property Value

The number of minimum data units between restart markers. The default value is 0, indicating that no restart markers are used.
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

See Also

Reference

TwainJpegCompression Structure
TwainJpegCompression Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.