HI_SetPictureBorderColor

HI_SetPictureBorderColor

%HI_SetPictureBorderColor function


Function

The function sets the picture's own border.

Declaration

%HI_SetPictureBorderColor( INT in color, INT in width )

Parameters

color

RGB color index

width

edge 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 version

D2000 V12.7N