Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property int get_BufferSize();
public: __property void set_BufferSize( 
   int value
);
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