Shiny Language Reference
Language Reference > Panel Functions
setpanelbgbitmap
setpanelbgbitmap(bool UseBitmap);
Sets whether the display panel has a bitmap background
SETPANELBGBITMAP immediately sets whether a background bitmap is used for the display panel. The bitmap to use for the background should be specified by calling SETPANELBGBITMAPFILE. This statement can be called before or after a background bitmap is loaded via SETPANELBGBITMAPFILE, however it is more efficient to call it after.
The order of display is Background colour -> Background image -> Render handler, therefore if the bitmap doesn't cover the entire display panel the background colour will show through.
Parameters
UseBitmap
TRUE if the panel should have a bitmap background, otherwise FALSE.
Return Value
None
Example Code
// Set the panel to use a bitmap background
setpanelbgbitmap(True);