Click or drag to resize

ImageSourceNotifyChangedImage Method (AtalaImage, AtalaImage)

This method is used to inform an ImageSource that one of its current acquired images has changed.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void NotifyChangedImage(
	AtalaImage originalImage,
	AtalaImage newImage
)

Parameters

originalImage
Type: Atalasoft.ImagingAtalaImage
The original image acquired through one of Acquire methods.
newImage
Type: Atalasoft.ImagingAtalaImage
An entirely new image that will replace the original image.
Remarks

If an ImageSource is used by several clients, it is useful to be able to have one client change an image and be able to notify any other client that a change has been made so that it can track the changes.

For example, if there are two open views on the same image, changes in one can be reflected in the other by calling NotifyChangedImage and by subscribing to the ChangedImage event.

See Also