Shiny Language Reference

Language Reference > Panel Functions


setpanelbgbitmapfile

setpanelbgbitmap(string Bitmap);

 

 

Sets the bitmap used for the display panel bitmap background

SETPANELBGBITMAPFILE immediately loads the specified file as the background bitmap. If SETPANELBGBITMAP is set to FALSE the bitmap is not drawn. The bitmap can be a GIF, JPG, BMP, EMF, WMF. GIF transparency is supported.

 

Parameters

Bitmap

The full path and filename to the bitmap to load. Remember to escape backslashes in the path.

 

Return Value

None

 

Example Code

// Set the panel to use a bitmap background
setpanelbgbitmap(True);
setpanelbgbitmapfile("SSE\\MyPlugin\\Background.gif");