LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DoubleBuffer Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : DoubleBuffer Property



Enables or disables double buffer painting, which eliminates flicker.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")>
Public Overridable Property DoubleBuffer As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.DoubleBuffer = value
 
value = instance.DoubleBuffer
C# 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
public virtual bool DoubleBuffer {get; set;}
C++/CLI 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
public:
virtual property bool DoubleBuffer {
   bool get();
   void set (    bool value);
}

Property Value

true to enable double buffer painting, false to disable it.

Example

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