• English
  • Deutsch

IC Imaging Control .NET

ICImagingControl.LoadShowSaveDeviceState Method

ICImagingControl.LoadShowSaveDeviceState Method

This executes the sequence ICImagingControl.LoadDeviceStateFromFile then ICImagingControl.ShowDeviceSettingsDialog and when a device was opened ICImagingControl.SaveDeviceStateToFile while ignoring errors. Then it returns the state of ICImagingControl.DeviceValid.
public Sub LoadShowSaveDeviceState( filename As String ) As Boolean
public bool LoadShowSaveDeviceState( string filename );
Parameter Description

The name of a device settings file to be passed to LoadDeviceStateFromFile and SaveDeviceStateToFile. If this is nullptr this parameter is ignored, and neither LoadDeviceStateFromFile nor SaveDeviceStateToFile is executed.

Return Value:

This function returns the value of ICImagingControl.DeviceValid.


This function is used to reduce the code to write small sample applications.


Introduced in version 3.5

See also: ICImagingControl, ICImagingControl.LoadDeviceStateFromFile, ICImagingControl.SaveDeviceStateToFile, ICImagingControl.ShowDeviceSettingsDialog, ICImagingControl.DeviceValid

<< 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