Share via


FocusControl.Configure(FocusSettings) Method

Definition

Configures the FocusControl object with values specified in the provided FocusSettings object.

public:
 virtual void Configure(FocusSettings ^ settings) = Configure;
void Configure(FocusSettings const& settings);
public void Configure(FocusSettings settings);
function configure(settings)
Public Sub Configure (settings As FocusSettings)

Parameters

settings
FocusSettings

The focus settings to use to configure the FocusControl object.

Remarks

Autofocus mode, enabled by using the FocusMode.Continuous value in the FocusSettings object supplied to this method, is only supported while the preview stream is running. Check to make sure that the preview stream is running before turning on continuous autofocus.

Applies to