Intermec CS40 CS40 Mobile Computer User's Manual - Page 50

About the Image Capture XML File, Image Capture XML File Fields

Page 50 highlights

Chapter 4 - Using the Imager 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 Settings allowChanges allowGallery Conditioning Settings allowChanges Edge Enhancement allowChanges edgeEnhancement Valid Values Description True or false True or false Default is true. When set to false, user cannot change any settings. Default is true. When set to false, user cannot go to the Gallery screen. True or false Default is true. When set to false, user cannot change settings in the Conditioning tab. True or false Default is true. When set to false, user cannot change the edge enhancement setting. None, low, Default is None. If no value is provided, the edge medium, or high enhancement value is unchanged. 38 CS40 Mobile Computer User's Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152

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.