gui.setPreviewFile

Assigns a (picture) file to a preview area.

Prototype

  1. bOk = gui.setPreviewFile ( hComponent, hFile )

Description

Preview areas are miniature pictures of dynamic content used e.g. in the materials editor.


Parameters

hComponent - valid GUI component handle
hFile - file (picture) handle


Return values

bOk - true on success


Available since ShiVa 2.0