Previous topic

OBJSetShadowWidth

Next topic

OBJSetUsePosWC

This Page

OBJSetSolidColorΒΆ

OBJSetSolidColor sets the solid RGB color to fill a drawing object or diagram.

bool = OBJSetSolidColor(hobj, rvRGB)

Return Value

bool is TRUE (1) when the function was successful and FALSE (0) if it was not.

Parameters

hobj

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

rvRGB

rvRGB is a vector with 3 elements:

Value Meaning
rvRGB[1] Red (0 to 255)
rvRGB[2] Green (0 to 255)
rvRGB[3] Blue (0 to 255)

id-253493