%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
refIdReference to a graphic object (reference variable).
bmpBitmap.
bOriginalSize@TRUE - by its size
@FALSE - by the size in HI
byCenter@TRUE - by the centre size in HI
@FALSE - by the location (upper left point)
bProportional@TRUE - it draws a picture and keeps its aspect ratio in the area of active bitmap
@FALSE - it draws a picture and adjust it to the defined area of active bitmap. @FALSE is used if the parameter is not defined.
Description
Function changes bitmap in graphic object Bitmap from script.
Example
%HI_SetBmp(_bmp, otvor.bmp\HBJ, @TRUE, @FALSE, @TRUE)

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .