KnownCameraGeneralProperties.ManualFocusPosition property

Applies to Windows Phone only

Specifies manual focus position.

Syntax


public static Guid ManualFocusPosition { get; }

Property value

Type: System.Guid [.NET] | Platform::Guid [C++]

The ID of the manual focus position.

Remarks

Use this property to manually focus the camera. The focus position value is unitless and will vary between devices. When you use this property, autofocus is automatically disabled. To enable autofocus again, set this property to null.

This property is common to both the PhotoCaptureDevice and AudioVideoCaptureDevice classes. In the PhotoCaptureDevice class, the GetProperty class gets the current value of the property (of type System.UInt32). The SetProperty method sets the property to a new value.

Not all values may be supported by each phone. Use the GetSupportedPropertyRange method to learn more about this property.

The AudioVideoCaptureDevice class also provides the GetProperty, SetProperty, and GetSupportedPropertyRange methods for use with this property.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.winmd

See also

KnownCameraGeneralProperties

 

 

Community Additions

ADD
Show:
© 2014 Microsoft