Chapter 4 — Using the Imager
38 CS40 Mobile Computer User’s Manual
specified, Image Capture uses its default settings or looks for an
.xml file in its local directory.
This sample code calls Image Capture from its default location and
specifies “ImageCapture_Config.xml” as the custom .xml
configuration file to use:
try
{
System.Diagnostics.Process.Start("\\ProgramFiles\\ImageCapture
\\ImageCapture.exe","\"\\Program Files\\MyApp\\ImageCapture_
Config.xml\"");
}
catch (Exception exception)
{
MessageBox.Show("Failed to execute \\ProgramFiles\\ImageCapture
\\ImageCapture.exe” + "\r\n" + exception.ToString());
}
About the Image Capture XML File
To further customize Image Capture features for use in your
application, you can create or edit the Image Capture .xml file and
modify these fields:
Image Capture XML File Fields
Field Name Valid Values Description
Settings
allowChanges True or false Default is true. When set to false, user cannot change
any settings.
allowGallery True or false Default is true. When set to false, user cannot go to
the Gallery screen.
Conditioning Settings
allowChanges True or false Default is true. When set to false, user cannot change
settings in the Conditioning tab.
Edge Enhancement
allowChanges True or false Default is true. When set to false, user cannot change
the edge enhancement setting.
edgeEnhancement None, low,
medium, or high
Default is None. If no value is provided, the edge
enhancement value is unchanged.