Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BufferSize Property
See Also 
Leadtools.Twain Namespace > TwainFastConfiguration Structure : BufferSize Property



Gets or sets an integer that represents the buffer size, in bytes.

Syntax

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

Property Value

The configuration buffer size, in bytes.

Example

Remarks

Use 0 to use the TWAIN driver preferred buffer size: Otherwise, specify the actual buffer size.
This value must be a multiple of 16.
For more information, refer to Fast TWAIN (Scan Configurations).

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