• English
  • Deutsch

IC Imaging Control .NET

ICImagingControl.ShowDeviceSettingsDialog Method

ICImagingControl.ShowDeviceSettingsDialog Method

This method opens a video capture device selection dialog.
public DialogResult ShowDeviceSettingsDialog(); public DialogResult ShowDeviceSettingsDialog( IntPtr hParentWindow ); public DialogResult ShowDeviceSettingsDialog( IWin32Window owner );
Parameter Description

Handle to the parent window used when creating the dialog.


A System.Windows.Forms.IWin32Window identifying the parent window used when creating the dialog.

Return Value:

This function returns System.Windows.Forms.DialogResult.OK, if the user selected a device and clicked the OK button. If the user clicked the Cancel button instead, the return value is System.Windows.Forms.DialogResult.Cancel.


The method ShowDeviceSettingsDialog opens the IC Imaging Control built-in device selection dialog. In the dialog the end user can select a video capture device and adjust it's video norm, video format and input channel. If supported, frame rate, vertical and horizontal flip property can also be set.


Introduced in version 2.0


This example demonstrates how to show the dialog and start live mode:

// We have to stop live mode here. if( ICImagingControl1.LiveVideoRunning ) { ICImagingControl1.LiveStop(); } // Show the dialog. ICImagingControl1.ShowDeviceSettingsDialog(); // If the user selected a device, start live mode. if( ICImagingControl1.DeviceValid ) { ICImagingControl1.LiveStart(); }
See also: ICImagingControl, ICImagingControl.ShowPropertyDialog

<< ICImagingControl

Get in touch with us

About The Imaging Source

Established in 1988, The Imaging Source is one of the leading manufacturers of industrial cameras, video converters and embedded vision components for factory automation, quality assurance, medicine, science, security and a variety of other markets.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE, MIPI interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

ISO 9001:2015 certified MVTEC | Edge AI + Vision Alliance | EMVA

Contact us