DynPicture.BackColor



BackColor() As OLE_COLOR
ED
avaliable
RT
read only

Remarks

Returns/sets the background colour of the picture. After changing the background colour the method Update or UpdateAll should be executed to redraw the picture.

In VB(A) ColorConstants can be used to set the background colour.

The constants are listed below:

Constants Code Code Hex
VbBlack
0
&H0
VbBlue
16711680
&HFF0000
VbCyan
16776960
&HFFFF00
VbGreen
65280
&HFF00
VbMagenta
16711935
&HFF00FF
VbRed
255
&HFF
VbWhite
16777215
&HFFFFFF
VbYellow
65535
&HFFFF

See Also

DynPicture