Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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