FocusControl.Configure(FocusSettings) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.