Sets a new image asynchronously.
Namespace: Stemmer.Cvb.Wpf.Controls
Assembly: Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax
Parameters
- image
- Type: Stemmer.CvbImage
Image to display.
Return Value
Type: TaskTask to wait on for completion. The task's state will be canceled if it was not used for actually updating the display.
Remarks
If multiple images are to be displayed in one render phase, only the newest is rendered.
Attention: Image drawing is performed in the UI thread. Thus if you Wait on the returned Task from the UI thread, the application will dead lock.
Otherwise it is safe to call this method from non-UI threads.
See Also