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: (.NET 4.5.2, x86)
public void NotifyChangedImage(
	AtalaImage originalImage,
	AtalaImage newImage


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

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