Where nimg1 is NativeImage Object.
On Desktop is work fine.
Error displayed on device is:
"Valore non compreso nell'intervallo previsto"
The Screen device resolution is 640x480, the panellist_img.Width is 500 end the compiled code is Optimized with AutoScale.