Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also