Skip to main content
All docs
V26.1
  • CameraDeviceSettings Class

    Exposes settings common to all camera controls.

    Namespace: DevExpress.Data.Camera

    Assembly: DevExpress.Data.Desktop.v26.1.dll

    NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

    Declaration

    public static class CameraDeviceSettings

    Remarks

    Note

    All properties exposed by the WindowsFormsSettings class are static and must be accessed accordingly – through the class itself rather than its instance. The following code snippet illustrates an example.

    using DevExpress.Data.Camera;
    
    namespace DXApplication2 {
        internal static class Program {
            [STAThread]
            static void Main() {
                ApplicationConfiguration.Initialize();
                CameraDeviceSettings.CaptureEngine = CameraCaptureEngine.MediaFoundation;
                Application.Run(new Form1());
            }
        }
    }
    

    Inheritance

    Object
    CameraDeviceSettings
    See Also