PhotoCamera.CaptureImage Method

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

Initiates a full-resolution capture of the current image displayed in the viewfinder.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Sub CaptureImage
public void CaptureImage()

Remarks

Completion of the operation is delayed based on exposure times and conditions. This method triggers the CaptureStarted event, which is followed by the CaptureImageAvailable and CaptureThumbnailAvailable events. When the image and thumbnail are available, the CaptureCompleted event is triggered.

For more information about how to implement this member, see How to create a base camera app for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

PhotoCamera Class

Microsoft.Devices Namespace