HI_SetPictureSize

HI_SetPictureSize

%HI_SetPictureSize function


Function

The function sets the minimal size of the picture.

Declaration

%HI_SetPictureSize( INT in x, INT in y, BOOL in inside := @TRUE )

Parameters

x

Picture width.

Special values:
0 - disables to maximize or minimize the picture, y is not important
1 - maximizes the picture, y is not important
2 - minimizes the picture, y is not important
any other - sets the picture width according to the value

y

Picture height.

inside

Dimensions settings:

  • @TRUE - dimensions are aimed for inner space of picture window, size of window is set according to these parameters + according to frame and title bar size

  • @FALSE - dimensions for the picture window

Note 1

The function is used only for pictures, that are not subpictures (they are not placed in other picture).

Note 2

This function is available also in %HIX_ version.