Shiny Language Reference

Language Reference > Panel Functions


getpanelbgbitmapstf

bool getpanelbgbitmapstf();

 

 

Gets whether the display panel bitmap background is scaled to fit

GETPANELBGBITMAPSTF retrieves whether the display panel background bitmap is scaled to fit. It is the partner to SETPANELBGBITMAPSTF.

 

Parameters

None

 

Return Value

TRUE if the panel background bitmap is scaled to fit (regardless of visibility), otherwise FALSE. The return value does not indicate if any scaling actually ocurred, only whether it will occur if the panel size doesn't match the bitmap size.

 

Example Code

// Get whether the panel bitmap background is scaled to fit
bool IsScaled = getpanelbgbitmapstf();