Hi,
After taking a new image using the camera our customer would like to set the taken image to another image element without saving the image on the server.
I tried the following my sample but it didn't work. The ADDIMAGE1 image element shows the kimage1.png image but the ADDIMAGE2 doesn't show the image.
Is it possible to get and set the image property of the image element?
Define Field(#uFileName) Type(*STRING)
#uFileName := *PART_DIR_EXECUTE + 'kimage1.png'
#Com_Owner.Set_Image Layout_Col(1) Layout_Row(1) Allowchange(True) Name(ADDIMAGE1) Newimage_Resize_Wdth(600) Newimage_Resize_Hght(450) Newimage_Thmbnl_Wdth(200) Image(#uFileName) Newimage_Thmbnl_Hght(150) Mode(Picture) Blankimageresource('Attach_Photo_Here.png')
#Com_Owner.Set_Image Layout_Col(1) Layout_Row(1) Allowchange(True) Name(ADDIMAGE2) Newimage_Resize_Wdth(600) Newimage_Resize_Hght(450) Newimage_Thmbnl_Wdth(200) Newimage_Thmbnl_Hght(150) Mode(Picture) Blankimageresource('Attach_Photo_Here.png')
#COM_OWNER.GET Property('/Form.Fields.ADDIMAGE1.Image') Into(#uFileName)
#COM_OWNER.SET Property('/Form.Fields.ADDIMAGE2.Image') To(#uFileName)
Thank you in advance.
Kazunori
[RDMLX] Is it possible to get and set image property of image element?
-
KazunoriKasahara
- Posts: 7
- Joined: Tue Feb 04, 2014 3:35 pm
Re: [RDMLX] Is it possible to get and set image property of image element?
Sorry Kazunori, I'm afraid it's impossible to set captured image to another element without sending image to server.
-
KazunoriKasahara
- Posts: 7
- Joined: Tue Feb 04, 2014 3:35 pm
Re: [RDMLX] Is it possible to get and set image property of image element?
Hi Jason,
Thank you for your reply.
I understand that it's impossible without sending image to server.
We will send image to server.
Kazunori
Thank you for your reply.
I understand that it's impossible without sending image to server.
We will send image to server.
Kazunori