Porovnávané verzie

Kľúč

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

%HI_GetPictureSizeX, %HI_GetPictureSizeY functions


Function
The function returns the width X/height Y of the active picture.
Declaration
Blok kódu
languageesl
themeConfluence
INT %HI_GetPictureSizeX(
   BOOL in inside := @TRUE
 ) 
 
INT %HI_GetPictureSizeY(
   BOOL in inside := @TRUE
 )
Parameters
inside@TRUE - size of the picture.
@FALSE - size of the picture window.
Example
The function %HI_GetPictureSizeX return the picture width and the function %HI_GetPictureSizeY returns the picture height. To set the picture size from the script use the function %HI_SetPictureSize function.
 

Blok kódu
languageesl
themeRDark
 INT _x
 INT _y
 
 _x := %HI_GetPictureSizeX()
 _y := %HI_GetPictureSizeY()
Note
This function is available also in %HIX_ version.