CaptureImageAsync Method
Collapse the table of content
Expand the table of content

CaptureSource.CaptureImageAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initiates an asynchronous image capture request. Retrieve the returned image by handling the CaptureImageCompleted event on this CaptureSource.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public void CaptureImageAsync()

In any case where you call CaptureImageAsync on a CaptureSource instance, attach a handler for CaptureImageCompleted. Obtain the captured image by calling CaptureImageCompletedEventArgs.Result from the event data.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft