
| Language: | Visual Basic 6 |
| Version: | 3.0.3 |
| Released on: | April 7, 2005 |
| Author: | IC Imaging Control Support Department |
| Requirements: | IC Imaging Control >2.1 Camera, converter or grabber with WDM Stream Class drivers. |
| |
IC Imaging Control allows devices settings, such as "Brightness", "Contrast" or "Exposure Time" to be adjusted, using shipped dialog boxes. This brief source code sample, illustrates how to carry out such adjustments.
The resulting application window looks as follows:

The property pages look as follows:




The program starts by activating another built-in dialog to select a device (.ShowDeviceSettingsDialog, to simplify matters this dialog is not shown here). Then, the selected device's live image data stream is displayed using .LiveStart (see image on the right):
Private Sub Form_Load() ICImagingControl1.ShowDeviceSettingsDialog If ICImagingControl1.DeviceValid Then ICImagingControl1.LiveStart End If End Sub
When the "Properties..." button is clicked, the program activates the built-in dialog to adjust the device settings:
Private Sub cmdDeviceParameters_Click() ICImagingControl1.ShowPropertyDialog End Sub
Disclaimer
The source code that appears in the IC Imaging Control Source Code Library is indented for educational purposes only. The Imaging Source Europe GmbH, the manufacturer of IC Imaging Control, does not assume any kind of warranty expressed or implied, resulting from the use of the content of this page.