ImgControl_SetImageFile¶
Assign an image file to an ImgControl form object.
ImgControl_SetImageFile(controlName; imageFilePath) ➔ success
| controlName | Text | The name of the ImgControl form object. |
| imageFilePath | Text | The full path to the image file. |
| success | Longint | Completion status: 1 on success, 0 otherwise. |
Assign an image file to the ImgControl form object named controlName.
Parameter imageFilePath is the full (absolute) pathname to the image file. The pathname
may be in either POSIX (recommended) or System format.
Handling of the file selection dialog (when imageFilePath is empty) and password entry
for protected PDF’s is delegated to ImgDoc_CreateWithFile.