wb_set_item_image

bool wb_set_item_image  (int wbobject, mixed index [, int item [, int subitem]])

Retrieves a portion of the image already assigned to a control and assigns it to a item (and optional subitem). The image must be previously assigned with wb_set_image(). The portion which is assigned is specified by index.

Returns TRUE on success or FALSE if an error occurs.

See also

wb_set_image
Control functions
Image functions