FillRectangle

This method fills the rectangle with the specified color.

Syntax

FillRectangle (Color As OLE_COLOR, left As Long, top As Long, width As Long, height As Long)
Parameter Description
Color Color
left Left coordinate of the rectangle
top Top coordinate of the rectangle
widthWidth of the rectangle
heightHeight of the rectangle