KnownCameraGeneralProperties.ManualFocusPosition property
Specifies manual focus position.
Syntax
public static Guid ManualFocusPosition { get; }
Public Shared ReadOnly Property ManualFocusPosition As Guid
public:
static property Guid ManualFocusPosition {
Guid 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 |
Namespace |
Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++] |
Metadata |
Windows.WinMD |
See also
KnownCameraGeneralProperties