OBJSetFillModeΒΆ

OBJSetFillMode sets the fill mode for a drawing object or diagram.

bool = OBJSetFillMode(hobj, rsMode)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hobj

hobj identifies a line, text, rectangle, ellipse or layer (diagram) object.

rsMode

rsMode is one of the following values:

Value Meaning
0 Drawing object filled with solid color.
1 Drawing object filled with color gradient.

Comment

The Background mode must be set to OPAQUE. See OBJSetBkMode.

id-748266