windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-dot-savesettingstoxml-x28-system-dot-string-x29.md
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Saves video settings of the currently used capture device to the specified file in XML format.
Namespace : DevExpress.XtraEditors.Camera
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual void SaveSettingsToXml(
string xmlFile
)
Public Overridable Sub SaveSettingsToXml(
xmlFile As String
)
| Name | Type | Description |
|---|---|---|
| xmlFile | String |
A String value that specifies the name of file to save video settings.
|
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
RestoreSettingsFromXml(String)