WinStudio
IWSFormComponent interface, tree objects
Sets the image for a specific tree level in the normal, unselected state to display.
object.TreeSetNodeImageAtTreeLevel( integer, string )
Part |
Description |
object | Required. A reference to a valid tree component object. |
integer | Required. The tree level. |
string | Required. The image file name. |
The image can be defined using an explicit file path; otherwise, WinStudio uses the current working directory to locate the image file.
ThisForm.Components("graph1"). TreeSetNodeImageAtTreeLevel(1, "MyImage.png")