RemoveImage()

Syntax:

RemoveImage()

Remarks:

This function will remove the Image file currently applied to the specified object. There are two methods of using this function:

(i)  Specify an object name – in this method, the Image file will be removed from the Normal (i.e. default) Object State.

(ii) Specify a new object created with the GetAppearance function – in this method, the Image file is removed for the Object State of the object specified in the GetAppearance function.

Note:
The Image file can be set using the SetImage function or in the Image tab of the object’s Properties dialog.

image\Script_Button.jpgExamples