%HI_GetPictureSizeX, %HI_GetPictureSizeY functions


Function
The function returns the width X / height Y of the active picture.
Declaration
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.
 
 INT _x
 INT _y
 
 _x := %HI_GetPictureSizeX()
 _y := %HI_GetPictureSizeY()

Note
This function is available also in %HIX_ version.
Napíšte komentár