Description

Begin or end a block of image changed notifications.

Return Type

None  

Syntax

object.BeginEndUpdateBlock bUpdate

The BeginEndUpdateBlock Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImage.
bUpdateRequired. A Boolean value.

Remarks

Changes of image data cause image changed notifications, which in turn cause redisplay of the image. This routine can be used to block these notifications so that the image display is not updated until the processing is completed. This is very important for any routines that use PutLine or PutPixel since EACH use of either of these routines triggers a notification.

IMPORTANT NOTE: It is very important to end a notification block after it is begun, or all further image display updates will be suppressed. Typical usage:

      ptrImage.BeginEndUpdateBlock(TRUE)
      ' processing that changes the image goes here
      ptrImage.BeginEndUpdateBlock(FALSE)