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.
Syntax:
[C#]
public Sub LoadShowSaveDeviceState( filename As String ) As Boolean
[C#]
public bool LoadShowSaveDeviceState( string filename );
Parameter Description
filename

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.

Remarks::

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

Information:

Introduced in version 3.5

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

<< ICImagingControl