ImageSource.NotifyChangedImage 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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic void NotifyChangedImage(
AtalaImage originalImage,
AtalaImage newImage
)
Public Sub NotifyChangedImage (
originalImage As AtalaImage,
newImage As AtalaImage
)
Parameters
- originalImage
- Type: Atalasoft.Imaging.AtalaImage
The original image acquired through one of Acquire methods. - newImage
- Type: Atalasoft.Imaging.AtalaImage
An entirely new image that will replace the original image.
RemarksIf 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