[]
        
(Showing Draft Content)

C1.WPF.Word.C1WordDocument.FillRectangle

FillRectangle Method

FillRectangle(Color, double, double, double, double)

Fill rectangle from this document.

Declaration
public void FillRectangle(Color clr, double x, double y, double width, double height)
Parameters
Type Name Description
Color clr

The drawing color.

double x

The x (top-left corner) coordinate.

double y

The y (top-left corner) coordinate.

double width

The width of the rectangle.

double height

The height of the rectangle.

FillRectangle(Color, Rect)

Fill rectangle from this document.

Declaration
public void FillRectangle(Color clr, Rect rc)
Parameters
Type Name Description
Color clr

The drawing color.

Rect rc

The drawing rectangle.

FillRectangle(Color, Rect, Size)

Fill round rectangle from this document.

Declaration
public void FillRectangle(Color clr, Rect rc, Size corners)
Parameters
Type Name Description
Color clr

The drawing color.

Rect rc

The drawing rectangle.

Size corners

The cones size.