[]
        
(Showing Draft Content)

C1.Word.C1WordDocument.DrawRectangle

DrawRectangle Method

DrawRectangle(Pen, float, float, float, float)

Draw rectangle from this document.

Declaration
public void DrawRectangle(Pen pen, float x, float y, float width, float height)
Parameters
Type Name Description
Pen pen

The drawing pen.

float x

The x (top-left corner) coordinate.

float y

The y (top-left corner) coordinate.

float width

The width of the rectangle.

float height

The height of the rectangle.

Implements

DrawRectangle(Pen, RectangleF)

Draw rectangle from this document.

Declaration
public void DrawRectangle(Pen pen, RectangleF rc)
Parameters
Type Name Description
Pen pen

The drawing pen.

RectangleF rc

The drawing rectangle.

Implements

DrawRectangle(Pen, RectangleF, SizeF)

Draw round rectangle from this document.

Declaration
public void DrawRectangle(Pen pen, RectangleF rc, SizeF corners)
Parameters
Type Name Description
Pen pen

The drawing pen.

RectangleF rc

The drawing rectangle.

SizeF corners

The cones size.

Implements