Click or drag to resize

IMcImageBeginEndUpdateBlock Method

Begin or end a block of image changed notifications.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Sub BeginEndUpdateBlock ( 
	bUpdate As Boolean
)

Parameters

bUpdate
Type: SystemBoolean
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)
See Also