%HI_SetPictureBorderColor function


Function

The function sets its own border for the picture.

Declaration
%HI_SetPictureBorderColor(
   INT in color,
   INT in width 
 )
Parameters
colorRGB color index
widthedge width, a value less than 1 cancels the edge drawing
Description
When the property is activated, a box is drawn around the picture in the picture space. The function is intended for pictures that do not have a border.
Note

The function %MakeRGB allows to form the color from individual color components.

Examples


 ; show picture border
 %HI_SetPictureBorderColor(%MakeRGB(0,0,255),2) 
 ; hide picture border
 %HI_SetPictureBorderColor(%MakeRGB(0,0,0),0) 
 

 

Requirements

Minimum supported versionD2000 V12.7N
Napíšte komentár