Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%HI_SetBmp function

 



Function
Function changes bitmap in graphic object Bitmap.
Declaration
Blok kódu
languageesl
themeConfluence
%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
Blok kódu
languageesl
themeRDark
%HI_SetBmp(_bmp, otvor.bmp\HBJ, @TRUE, @FALSE, @TRUE)