Description

used to prevent “Image Changed” notifications when the client is applying a series of updates.

Return Type

None  

Syntax

object.BeginEndUpdateBlock [Begin]

The BeginEndUpdateBlock Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRegionAccess.
BeginOptional. A Boolean value.

VARIANT_BOOL : If true, the user is signalling that a series of updates are beginning. False indicates the user is done.

Remarks

By default, a notification telling clients that the image has been changed is sent every time pixel values are modified via PutPixel, PutLine, and PutArea. This method allows the client to stop these notifications in order to improve performance.

Internally, this method uses a reference counter. The counter is incremented when the parameter is true, decremented when false. Notifications will only occur when the counter is zero - it's default value.