When implementing camera access from C/AL, there are some options; Microsoft.Dynamics.Nav.Client.Capabilities.CameraOptions
found in the Microsoft.Dynamics.Nav.ClientExtensions
dll, that you can use to additionally specify picture quality, source type, and so on. These can optionally be passed to CameraProvider.RequestPictureAsync(options)
. Some of the options described in this article have been implemented in the example in the How to: Implement the Camera in C/AL topic.
For most scenarios it is not necessary to specify options.
CameraOptions
The quality of the saved image expressed as a range from 0 to 100, where 100 is typically full resolution without loss from file compression. Default is 50.
| ||
The source of the picture. Possible values are as follows: | ||
The type of media to select from. The | ||
The encoding of the returned image file. Supported values are as follows: | ||
A value indicating whether to enable simple editing of image before selection. Default is
|