| 
 Captures an image from the camera or gallery in mobile apps. 
 | 
| 
 Syntax: 
 | 
 ClientImageCapture (source, width, height, quality, allow crop) 
 | 
| 
 Parameters: 
 | 
 source – Select whether to take the image from the camera or the gallery: 
 | 
| 
   
 | 
 width – The desired width for the image in pixels. A value of 0 will keep the original width. 
 | 
| 
   
 | 
 height – The desired height for the image in pixels. A value of 0 will keep the original height. 
 | 
| 
   
 | 
 quality – The desired compression level for the image.  A value of 0 means maximum compression. A value of 100 means the best quality. 
 | 
| 
   
 | 
 allow crop – Defines whether the end user can crop the image after it was taken. The valid values are True and False. 
 | 
| 
 Returns: 
 | 
 The path to the image. If the user did not take an image, a blank string will be returned. 
 | 
| 
 Platform specific: 
 | 
 | 
| 
 Exceptions: 
 | 
 This function is only available in Rich Client tasks and in the Main Program. 
This function is not supported in Web Client tasks. 
 | 
| 
 See also: 
 | 
 The Rich Client Samples project (program RMO07) 
 |