DisplayCanvasRedrawImageAsync Method

CVB.Net Documentation
Redraws the display based on the set Image when the display is rendered the next time.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public Task RedrawImageAsync()

Return Value

Type: Task
Task 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 redraws are to be done in one render phase, only one is performed.

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

Reference