ICImagingControl.SaveDeviceState Method

Saves the currently opened device and its settings to a string.
Public Function SaveDeviceState() As String
Return Value:

A string containing information about the opened device.


A valid device must be opened.


SaveDeviceState saves the following settings of ICImagingControl:

  • Opened Device and its serial number
  • Video norm
  • Video format
  • Input channel
  • Frame rate
  • Vertical Flip
  • Horizontal Flip
  • All VCDProperties

With ICImagingControl.LoadDeviceState, you can re-open the device with the saved settings.


Introduced in IC Imaging Control 2.0


The following example saves the currently opened device to a file named "device.dat".

Dim deviceState As String
deviceState = ICImagingControl1.SaveDeviceState()
See also: ICImagingControl, ICImagingControl.LoadDeviceState

<< ICImagingControl