HI_SetBmp
%HI_SetBmp function
Function
Function changes bitmap in graphic object Bitmap.
Declaration
%HI_SetBmp(
INT in refId,
HBJ in bmp,
BOOL in bOriginalSize,
BOOL in byCenter,
[, BOOL in bProportional]
)Parameters
refId | Reference to graphic object (reference variable). |
bmp | Bitmap. |
bOriginalSize | @TRUE - by its size |
byCenter | @TRUE - by the centre size in HI |
bProportional | @TRUE - it draws a picture and keeps its aspect ratio in the area of active bitmap |
Description
Function changes bitmap in graphic object Bitmap from script.
Example
%HI_SetBmp(_bmp, otvor.bmp\HBJ, @TRUE, @FALSE, @TRUE)