Back to Devexpress

CameraControl.RestoreSettingsFromXml(String) Method

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-dot-restoresettingsfromxml-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

CameraControl.RestoreSettingsFromXml(String) Method

SECURITY-RELATED CONSIDERATIONS

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.

Loads the video settings stored in the specified XML file.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void RestoreSettingsFromXml(
    string xmlFile
)
vb
Public Overridable Sub RestoreSettingsFromXml(
    xmlFile As String
)

Parameters

NameTypeDescription
xmlFileString

A String value that specifies the file from which to restore the video settings.

|

Remarks

Use the RestoreSettingsFromXml method to load the video settings saved using the CameraControl.SaveSettingsToXml method.

See Also

SaveSettingsToXml(String)

CameraControl Class

CameraControl Members

DevExpress.XtraEditors.Camera Namespace