This method sets the image for the selected object.
Parameters
setImageFile
A value (of type string) representing the image file.
Return Value
Returns True if successful, otherwise returns False.
Explanation
The SetSelectedObjectImage method sets the image for the selected object.
Executing this method is the same as selecting an object, right clicking the object to display the context menu, selecting "Properties" and then setting the "Image File Name".
When the SetSelectedObjectImage method is executed, the image file set in the setImageFile parameter will be displayed within the selected object. If the image file set in the setImageFile parameter does not exist, an "X" will be displayed in the selected object.
This method will return False if no object is selected or if the selected object is not the PasteImage object.
Also See
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit