PhotoCamera.Focus Method

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

Starts a camera auto focus operation.

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

Syntax

Public Sub Focus
public void Focus()

Remarks

Success and completion of this method can be determined by the AutoFocusCompleted event.

For more information about how to implement this member, see How to use camera focus in an 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