LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

DoubleBuffer Property






Gets or sets a flag that indicates whether to enable double buffering.
Syntax
public bool DoubleBuffer {get; set;}
'Declaration
 
Public Property DoubleBuffer As Boolean
'Usage
 
Dim instance As WiaAcquireOptions
Dim value As Boolean
 
instance.DoubleBuffer = value
 
value = instance.DoubleBuffer
public bool DoubleBuffer {get; set;}
 get_DoubleBuffer();
set_DoubleBuffer(value);
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.
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.

Example
Refer to WiaSession.AcquireToFile example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaAcquireOptions Structure
WiaAcquireOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.