Shiny Language Reference
Language Reference > Panel Functions
setpanelbgbitmapstf
setpanelbgbitmapstf(bool Stretch);
Sets whether the bitmap background is scaled to fit the display panel
SETPANELBGBITMAPSTF sets whether the background bitmap (specified by SETPANELBGBITMAPFILE) is scaled to exactly fit the size of the display panel. Scaling up as well as down is allowed.
Parameters
Stretch
TRUE if the bitmap should be scaled to to fit, otherwise false.
Return Value
None
Example Code
// Scale the background bitmap to fit the display panel
setpanelbgbitmapstf(True);