DoubleBuffer property (Main Control)

Visual Basic example

Visual C++ example

 

Syntax

VARIANT_BOOL DoubleBuffer

Overview

Refer to Displaying an Image.

Remarks

(Document/Medical only) (Persistent property, available at design time) Gets or sets a value that enables or disables double buffered image display in the control. Use this to avoid flicker when the control repaints invalidated areas. Possible values are:

Value

Meaning

TRUE

Enable double buffering

FALSE

Disable double buffering

This is especially useful when displaying annotations on the image. Without enabling double buffered painting, the image is painted first, and then the annotations are rendered. This can cause flicker, and, it allows the portion under the annotation objects, for example a Redact object, to be visible.

See Also

Elements:

BackErase property, AutoRepaint property , ForceRepaint method, EnablePaint property, RepaintRect method, PaintRgnOnly property

Topics:

Raster Images: Displaying Images

Implementing Annotations