Skip to main content

CameraControl.SaveSettingsToXml(String) Method

Saves the video settings of the currently used capture device to the specified file in XML format.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void SaveSettingsToXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String value that specifies the name of file to save the video settings.

Remarks

Use the SaveSettingsToXml method to save the video settings (see CameraControl.VideoSettings) of the currently used device (see CameraControl.Device) to the specified file in XML format. The settings can then be restored via the CameraControl.RestoreSettingsFromXml method.

The values of the following video properties are preserved:

You can also save settings to the system registry using the CameraControl.SaveSettingsToRegistry method.

See Also