←Select platform

RestartFrequency Property

Summary

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 SetJpegCompression method.

Syntax

C#
VB
C++
public int RestartFrequency { get; set; } 
Public Property RestartFrequency As Integer 
public: 
property int RestartFrequency { 
   int get(); 
   void set (    int ); 
} 

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 SetJpegCompression example.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly