LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DoubleBuffer Property
See Also 
Leadtools.Wia Namespace > WiaAcquireOptions Structure : DoubleBuffer Property



Gets or sets a flag that indicates whether to enable double buffering.

Syntax

Visual Basic (Declaration) 
Public Property DoubleBuffer As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WiaAcquireOptions
Dim value As Boolean
 
instance.DoubleBuffer = value
 
value = instance.DoubleBuffer
C# 
public bool DoubleBuffer {get; set;}
C++/CLI 
public:
property bool DoubleBuffer {
   bool get();
   void set (    bool value);
}

Property Value

Flag that indicates whether to use double buffering while doing memory transfer. Possible values are: true to enable double buffering, false to not enable double buffering.

Example

Refer to WiaSession.AcquireToFile example.

Remarks

When true, the buffer specified with MemoryBufferSize will be multiplied by 2 internally. If MemoryBufferSize is 0 then the default buffer size (64K) will be used internally and then it will be doubled. When false, no double buffering is used. This is the default value.

Note: This member is ignored when using WIA version 2.0.

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