LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

DoubleBuffer Property (RasterImageViewer)






Enables or disables double buffer painting, which eliminates flicker.
Syntax
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public virtual bool DoubleBuffer {get; set;}
'Declaration
 
<DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")>
<CategoryAttribute("Behavior")>
Public Overridable Property DoubleBuffer As Boolean
'Usage
 
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.DoubleBuffer = value
 
value = instance.DoubleBuffer
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public virtual bool DoubleBuffer {get; set;}
DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")
CategoryAttribute("Behavior")
 get_DoubleBuffer();
set_DoubleBuffer(value);
[DescriptionAttribute("Indicates whether drawing is performed in a buffer, and after it completes, the result is output to the screen.")]
[CategoryAttribute("Behavior")]
public:
virtual property bool DoubleBuffer {
   bool get();
   void set (    bool value);
}

Property Value

true to enable double buffer painting, false to disable it.
Example
Refer to RasterImageViewer.
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

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

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