Chapter 3 — Developing and Installing Applications
CN4 Mobile Computer User’s Manual
77
•
Path to and name of the Image Capture application. Default is
“\\Program Files\\Intermec\\ImageCapture\\ImageCapture.exe”.
•
Path to and name of the .xml configuration file that Image
Capture should use when called by your application. This way you
can use a custom .xml configuration file based on your needs. If no
.xml file is 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());
}
Creating and Editing 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. This
section lists Image Capture field names, valid values, and descriptions.
Field Definitions for ImageCapture_Config.xml
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.
Содержание CN4
Страница 1: ...CN4 CN4 CN4e CN4NI User s Manual Mobile Computer ...
Страница 4: ...iv CN4 Mobile Computer User s Manual ...
Страница 98: ...Chapter 3 Developing and Installing Applications 86 CN4 Mobile Computer User s Manual ...
Страница 113: ...101 A Specifications and Default Settings ...
Страница 128: ...Appendix A Specifications and Default Settings 116 CN4 Mobile Computer User s Manual ...
Страница 129: ...117 B Keypads and Keystrokes ...
Страница 137: ...125 I Index ...
Страница 145: ......