xButton.SetImage

xButton.SetImage ( 

string ObjectName,

string ButtonImage )

Example 1

xButton.SetImage("xButton1", "AutoPlay\\Images\\button_image.png");

Sets the image on the "xButton1" xButton object to "AutoPlay\Images\button_image.png."

See also:  Related Actions