|
|
|
|
WLanguage procedure called by CameraPhoto WLanguage procedure ("callback") called when the photo is saved via CameraPhoto. CameraPhoto(CAM_MyCamera, CameraPhoto_Callback) Â INTERNAL PROCEDURE CameraPhoto_Callback(bSuccess is boolean, PhotoPath is string) IF bSuccess = True THEN IMG_PHOTO = PhotoPath STC_PHOTO_PATH = PhotoPath MyWindow.Plane = 3 ELSE ToastDisplay("Cannot take photo." + CR + ErrorInfo()) END END Syntax
CameraPhoto_Callback(<Success> , <Photo path>)
<Success>: Boolean - True if the photo has been saved,
- False otherwise. In this case, ErrorInfo returns the details of the error.
<Photo path>: Character string Path of the photo that has just been saved.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|