CaptureSource.AsyncCaptureImage Method
[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides a WriteableBitmap image file to the provided Action<T> callback as a parameter. The image represents a single "frame grab" from an associated video capture device.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- Callback
- Type: System.Action<WriteableBitmap>
The callback to invoke when the WriteableBitmap parameter of the callback contains complete image information.
Calling AsyncCaptureImage requires that the video device be started by calling Start. Failing to do this typically causes an InvalidOperationException. To avoid the exception, check State first and only call AsyncCaptureImage while state is Started.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.