DoubleBuffer Property

Summary
Gets or sets a flag that indicates whether to enable double buffering.
Syntax
C#
VB
C++
public bool DoubleBuffer { get; set; } 
  
Public Property DoubleBuffer As Boolean 
public: 
property bool DoubleBuffer { 
   bool get(); 
   void set (    bool ); 
} 

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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.