<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > ImagePicker > Method >SetCameraDPI |
Sets the camera dpi when taking a picture or scanning a seal/ID using the ImagePicker.
Prototype :
void SetCameraDPI
(
integer CameraDPI
)
Arguments :
CameraDPI |
Camera DPI |
Reference :
This is works only on the Android, iOS, WinUWP Viewer.
If you set the argument to value less than 1, camera dpi is applied as the value of eform.imagepicker_camera_dpi parameter.
If ImagePickMode is "Camera" or "ID", image is taken with the smallest image size of the DPI or higher resolution images that can be recommended size is guaranteed. However, if the mobile device is unable to take a picture with the recommended DPI, image is taken with the largest image resolution.
If ImagePickMode is "Seal", image is taken with the 800 million(2364 x 2448) or higher resolution and then displays the converted images to the size for the specified DPI to ImagePicker.
Example :
This.SetCameraDPI(600);
Available Events :
OnAddToPage, OnBind, OnClick, OnEndBind, OnInitialize, OnStartBind, OnValueChanged
See also :